rust/tests/source/arrow_in_comments/multiple_arrows.rs

15 lines
282 B
Rust
Raw Normal View History

// rustfmt-version: Two
fn main() {
match a {
_ => // comment with =>
match b {
// one goes to =>
one => {
println("1");
}
// two goes to =>
two => { println("2"); }
}
}
}