]> git.lizzy.rs Git - rust.git/blob - tests/target/configs-multiline_match_arm_forces_block-true.rs
Remove `match_arm_forces_newline`
[rust.git] / tests / target / configs-multiline_match_arm_forces_block-true.rs
1 // rustfmt-multiline_match_arm_forces_block: true
2 // Option forces multiline match arm bodies to be wrapped in a block
3
4 fn main() {
5     match lorem {
6         Lorem::Ipsum => {
7             if ipsum {
8                 println!("dolor");
9             }
10         }
11         Lorem::Dolor => println!("amet"),
12     }
13 }