rust/tests/source/configs-match_block_trailing_comma-true.rs
2017-05-01 15:58:04 +02:00

12 lines
223 B
Rust

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