rust/tests/source/configs-control_brace_style-always_same_line.rs

10 lines
229 B
Rust

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