aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/rust/match.rs
blob: 438ba6d5f94d5459d66a6319000ed831854d23e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
fn foo(x: i32) -> i32 {
    match x {
        0 => 1,
        1 => {
            2
        },
        2 | 3 => {
            4
        }
    }
}