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