about summary refs log tree commit diff
path: root/src/tools/rustfmt/tests/source/arrow_in_comments/multiple_arrows.rs
blob: 98ef919450f88f4c80fe3440153908562b683413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// rustfmt-style_edition: 2024
fn main() {
    match a {
        _ => // comment with => 
        match b {
            // one goes to =>
            one => {
                println("1");
            }
            // two goes to =>
            two => { println("2"); }
        } 
    }
}