aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/rust/if_let_cond.rs
blob: 0d6e2ef9f0ae35c0cc39114c1f2051a59148f696 (plain) (blame)
1
2
3
4
5
6
7
fn foo() -> i32 {
    if let Some(v) = Some(2) {
        1
    } else {
        2
    }
}