Closed
Description
After reading http://journal.stuffwithstuff.com/2015/09/08/the-hardest-program-ive-ever-written/, I decided to put one of code examples provided here in Rust.
pub // Oh, crap. A line comment.
struct Foo {}
The original code used abstract
, but there is no such keyword in Rust, I used pub
instead. Rustfmt seeing that removed a comment. This is an edge case, I don't care what it formats down to, but I think comment should be preserved.