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

11 lines
175 B
Rust
Raw Normal View History

// rustfmt-control_brace_style: AlwaysSameLine
// Control brace style
fn main() {
if lorem {
println!("ipsum!");
} else {
println!("dolor!");
}
}