mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
13 lines
346 B
Rust
13 lines
346 B
Rust
// rustfmt-match_arm_blocks: false
|
|
// Match expressions, no unwrapping of block arms or wrapping of multiline
|
|
// expressions.
|
|
|
|
fn foo() {
|
|
match x {
|
|
a => { foo() }
|
|
b =>
|
|
(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
|
|
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb),
|
|
}
|
|
}
|