mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-28 15:43:21 +00:00
19 lines
269 B
Rust
19 lines
269 B
Rust
// rustfmt-control_brace_style: AlwaysNextLine
|
|
// Control brace style
|
|
|
|
fn main() {
|
|
if lorem
|
|
{
|
|
println!("ipsum!");
|
|
}
|
|
else
|
|
{
|
|
println!("dolor!");
|
|
}
|
|
match magi
|
|
{
|
|
Homura => "Akemi",
|
|
Madoka => "Kaname",
|
|
}
|
|
}
|