rust/tests/source/configs/match_block_trailing_comma/true.rs

12 lines
223 B
Rust
Raw Normal View History

// rustfmt-match_block_trailing_comma: true
// Match block trailing comma
fn main() {
match lorem {
Lorem::Ipsum => {
println!("ipsum");
}
Lorem::Dolor => println!("dolor"),
}
}