]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/patterns.rs
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / patterns.rs
index 41e9ec8ca81eda716272ee3f71a4ec6b750d9dd3..e10afdb86b8228ab03e2b2299c2fdcbe4b4a51b0 100644 (file)
@@ -7,9 +7,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-
-
-
 #![allow(unused)]
 #![warn(clippy::all)]
 
@@ -17,10 +14,10 @@ fn main() {
     let v = Some(true);
     match v {
         Some(x) => (),
-        y @ _   => (),
+        y @ _ => (),
     }
     match v {
-        Some(x)  => (),
-        y @ None => (),  // no error
+        Some(x) => (),
+        y @ None => (), // no error
     }
 }