]> git.lizzy.rs Git - rust.git/commitdiff
Fix tabs
authorAaron Hill <aa1ronham@gmail.com>
Wed, 19 Feb 2020 16:36:04 +0000 (11:36 -0500)
committerAaron Hill <aa1ronham@gmail.com>
Wed, 4 Mar 2020 21:43:14 +0000 (16:43 -0500)
src/test/ui/if-attrs/gate-whole-expr.rs

index efce28e1d5bb20fdd5bcd91ef64c3fabe5c6c3de..63772d54b531dacdaca24a706900e90abf75683f 100644 (file)
@@ -1,15 +1,15 @@
 // run-pass
 
 fn main() {
-       let x = 1;
+    let x = 1;
 
-       #[cfg(FALSE)]
-       if false {
-               x = 2;
-       } else if true {
-               x = 3;
-       } else {
-               x = 4;
-       }
-       assert_eq!(x, 1);
+    #[cfg(FALSE)]
+    if false {
+        x = 2;
+    } else if true {
+        x = 3;
+    } else {
+        x = 4;
+    }
+    assert_eq!(x, 1);
 }