]> git.lizzy.rs Git - rust.git/blobdiff - tests/source/pattern-condense-wildcards.rs
Prevent duplicate comma when formatting struct pattern with ".."
[rust.git] / tests / source / pattern-condense-wildcards.rs
index 244e935639af50b0b40f1dc0be4412251d44bab2..69c3fa3cbad8dd022f44246cb529775e453b44b6 100644 (file)
@@ -7,6 +7,6 @@ fn main() {
         Tup (_) =>  "nah",
         Quad (_,_, x,_) =>   " also no rewrite",
         Quad (x, _, _, _) => "condense me pls",
-        Weird (x, _, _, /* dont condense before */ _, _, _) => "pls work",
+        Weird (x, _, _, /* don't condense before */ _, _, _) => "pls work",
     }
 }