]> git.lizzy.rs Git - rust.git/blob - tests/source/binop-separator-back/patterns.rs
Prevent duplicate comma when formatting struct pattern with ".."
[rust.git] / tests / source / binop-separator-back / patterns.rs
1 // rustfmt-binop_separator: Back
2
3 fn main() {
4     match val {
5     ThisIsA::ReallyLongPatternNameToHelpOverflowTheNextValueOntoTheNextLine | ThisIsA::SecondValueSeparatedByAPipe | ThisIsA::ThirdValueSeparatedByAPipe => {
6     //
7     }
8     }
9 }