]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/control-brace-style-always-next-line.rs
Tidy up and pass tests
[rust.git] / tests / target / control-brace-style-always-next-line.rs
index 534dfb89969fc5021a66aac7eefead59af741fc3..054a3075ca0c5aa675d7b0336ac632a1d1135920 100644 (file)
@@ -7,27 +7,24 @@ fn main() {
         ();
     }
 
-
-    'loop_label: loop
+    'label: loop
+    // loop comment
     {
         ();
     }
 
-
     cond = true;
     while cond
     {
         ();
     }
 
-
     'while_label: while cond
     {
         // while comment
         ();
     }
 
-
     for obj in iter
     {
         for sub_obj in obj
@@ -40,7 +37,8 @@ fn main() {
     }
 
     match some_var
-    { // match comment
+    {
+        // match comment
         pattern0 => val0,
         pattern1 => val1,
         pattern2 | pattern3 =>