summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/match-flattening.rs
blob: f246952a08d4b9fe70cb9cd01ba3afac32d7c31e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
fn main() {
    match option {
        None => {
            if condition {
                true
            } else {
                false
            }
        }
    }
}

fn main() {
    match option {
        None => {
            if condition {
                true
            } else {
                false
            }
        }
    }
}