mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
12 lines
224 B
Rust
12 lines
224 B
Rust
// rustfmt-match_block_trailing_comma: true
|
|
// Match block trailing comma
|
|
|
|
fn main() {
|
|
match lorem {
|
|
Lorem::Ipsum => {
|
|
println!("ipsum");
|
|
},
|
|
Lorem::Dolor => println!("dolor"),
|
|
}
|
|
}
|