1
2
3
4
5
6
7
8
9
10
11
12
|
// 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",
}
}
|