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