]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/else-if-brace-style-always-same-line.rs
Tidy up and pass tests
[rust.git] / tests / target / else-if-brace-style-always-same-line.rs
index e98d9bfc81171de6f5a24651dfd3f2cb536a3904..5e5ab21a0d884ae7b701e793a9c1b3b0e772313b 100644 (file)
@@ -1,5 +1,4 @@
-// rustfmt-single_line_if_else_max_width: 0
-// rustfmt-else_if_brace_style: AlwaysSameLine
+// rustfmt-control_brace_style: AlwaysSameLine
 
 fn main() {
     if false {
@@ -14,13 +13,7 @@ fn main() {
         ();
     }
 
-
-    let a = if 0 > 1 {
-        unreachable!()
-    } else {
-        0x0
-    };
-
+    let a = if 0 > 1 { unreachable!() } else { 0x0 };
 
     if true {
         ();