summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/indented-impl.rs
blob: eff579dddac710571bf6123333870c612c582952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// rustfmt-brace_style: AlwaysNextLine
mod x
{
    struct X(i8);

    impl Y for X
    {
        fn y(self) -> ()
        {
            println!("ok");
        }
    }
}