summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/issue-2781.rs
blob: 2c15b29b6dcd46e351005e24a1d683b6f1ba0ed4 (plain)
1
2
3
4
5
6
7
8
9
10
11
pub      // Oh, no. A line comment.
struct Foo {}

pub     /* Oh, no. A block comment. */     struct Foo {}

mod inner {
pub      // Oh, no. A line comment.
struct Foo {}

pub     /* Oh, no. A block comment. */     struct Foo {}
}