]> git.lizzy.rs Git - rust.git/blob - tests/target/match-nowrap.rs
Merge pull request #681 from rust-lang-nursery/comment-style
[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 => {
8             foo()
9         }
10         b => (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
11               bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb),
12     }
13 }