]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | // rustfmt-match_arm_blocks: false |
2 | // rustfmt-match_block_trailing_comma: true | |
3 | // Match expressions, no unwrapping of block arms or wrapping of multiline | |
4 | // expressions. | |
5 | ||
6 | fn foo() { | |
7 | match x { | |
8 | a => { | |
9 | "line1"; | |
10 | "line2" | |
11 | } | |
12 | b => (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, | |
13 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb), | |
14 | } | |
15 | } |