mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
13 lines
327 B
Rust
13 lines
327 B
Rust
// rustfmt-normalize_comments: true
|
|
// rustfmt-condense_wildcard_suffixes: true
|
|
|
|
fn main() {
|
|
match x {
|
|
Butt(..) => "hah",
|
|
Tup(_) => "nah",
|
|
Quad(_, _, x, _) => " also no rewrite",
|
|
Quad(x, ..) => "condense me pls",
|
|
Weird(x, _, _, /* don't condense before */ ..) => "pls work",
|
|
}
|
|
}
|