]> git.lizzy.rs Git - rust.git/blob - tests/target/match-nowrap.rs
1457109821880441e2c3ee1a747dbd4da0d9a0e8
[rust.git] / tests / target / match-nowrap.rs
1 // rustfmt-wrap_match_arms: false
2 // Match expressions, no unwrapping of block arms or wrapping of multiline
3 // expressions.
4
5 fn foo() {
6     match x {
7         a => foo(),
8         b => (
9             aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
10             bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb,
11         ),
12     }
13 }