rust/tests/target/arrow_in_comments/multiple_arrows.rs
ding-young 9580747a76
Fix failure with => in comment after match => (#6092)
* Find arrow with find_last_uncommented
* Add version gate for arrow finding fix
2024-03-11 22:26:28 -04:00

20 lines
376 B
Rust

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