summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/file-lines-6.rs
blob: 8a092df869a6fc14cee60e6aa14cd0242cf87fcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// rustfmt-file_lines: [{"file":"tests/source/file-lines-6.rs","range":[9,10]}]

struct A {
    t: i64,
}

mod foo {
    fn bar() {
        // test
        let i = 12;
                                 // test
    }

    fn baz() {
///
        let j = 15;     
    }
}