rust/tests/target/configs-control_brace_style-always_next_line.rs

19 lines
269 B
Rust
Raw Normal View History

// rustfmt-control_brace_style: AlwaysNextLine
// Control brace style
fn main() {
if lorem
{
println!("ipsum!");
}
else
{
println!("dolor!");
}
match magi
{
Homura => "Akemi",
Madoka => "Kaname",
}
}