rust/tests/source/configs/control_brace_style/always_next_line.rs
2018-03-02 15:07:13 +13:00

11 lines
229 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",
}
}