rust/rustfmt-core/tests/source/issue-1021.rs
2018-02-07 22:48:05 +09:00

23 lines
491 B
Rust

// rustfmt-normalize_comments: true
fn main() {
match x {
S(true , .., true ) => (),
S(true , .. ) => (),
S(.., true ) => (),
S( .. ) => (),
S(_) => (),
S(/* .. */ .. ) => (),
S(/* .. */ .., true ) => (),
}
match y {
(true , .., true ) => (),
(true , .. ) => (),
(.., true ) => (),
( .. ) => (),
(_,) => (),
(/* .. */ .. ) => (),
(/* .. */ .., true ) => (),
}
}