rust/tests/source/arrow_in_comments/arrow_in_single_comment.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

11 lines
152 B
Rust

// rustfmt-version: Two
fn main() {
match a {
_ =>
// comment with =>
{
println!("A")
}
}
}