summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/issue-2496.rs
blob: 0ebd4b510ece63cc6e4c1539b561170cf50d5b92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// rustfmt-indent_style: Visual
fn main() {
    match option {
        None => some_function(first_reasonably_long_argument,
                              second_reasonably_long_argument),
    }
}

fn main() {
    match option {
        None => {
            some_function(first_reasonably_long_argument,
                          second_reasonably_long_argument)
        }
    }
}