rust/tests/source/arrow_in_comments/multiple_arrows.rs
Caleb Cartwright aa8a53f687 refactor: switch idempotence/system tests to style_edition
Updates all the various files utilized in the system and
idempotence tests to directly use the corresponding
'style_edition' configuration as opposed to keeping
the original 'version' values and relying on the mapping.
2024-07-28 19:37:36 -05:00

15 lines
289 B
Rust

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