]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/match-flattening.rs
Auto merge of #80182 - in42:stack_trace, r=tmandry
[rust.git] / src / tools / rustfmt / tests / target / match-flattening.rs
1 fn main() {
2     match option {
3         None => {
4             if condition {
5                 true
6             } else {
7                 false
8             }
9         }
10     }
11 }
12
13 fn main() {
14     match option {
15         None => {
16             if condition {
17                 true
18             } else {
19                 false
20             }
21         }
22     }
23 }