mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
16 lines
258 B
Rust
16 lines
258 B
Rust
// rustfmt-control_brace_style: ClosingNextLine
|
|
// Control brace style
|
|
|
|
fn main() {
|
|
if lorem {
|
|
println!("ipsum!");
|
|
}
|
|
else {
|
|
println!("dolor!");
|
|
}
|
|
match magi {
|
|
Homura => "Akemi",
|
|
Madoka => "Kaname",
|
|
}
|
|
}
|