]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/struct_lits_visual.rs
Tidy up and pass tests
[rust.git] / tests / target / struct_lits_visual.rs
index d5978c3debbe94dc9cbcd5b77b4431cbb4b4d698..7e93b91d8c1094cc13989918062be0923247f771 100644 (file)
@@ -1,5 +1,7 @@
+// rustfmt-normalize_comments: true
 // rustfmt-wrap_comments: true
-// rustfmt-struct_lit_style: Visual
+// rustfmt-indent_style: Visual
+// rustfmt-error_on_line_overflow: false
 
 // Struct literal expressions.
 
@@ -16,24 +18,10 @@ fn main() {
 
     Fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { a: f(), b: b() };
 
-    Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { // Commen
-                                                                                        // t
-                                                                                        a: foo(), /* C
-                                                                                                   * o
-                                                                                                   * m
-                                                                                                   * m
-                                                                                                   * e
-                                                                                                   * n
-                                                                                                   * t */
-                                                                                        // Commen
-                                                                                        // t
-                                                                                        b: bar(), /* C
-                                                                                                   * o
-                                                                                                   * m
-                                                                                                   * m
-                                                                                                   * e
-                                                                                                   * n
-                                                                                                   * t */ };
+    Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { // Comment
+                                                                                        a: foo(), /* Comment */
+                                                                                        // Comment
+                                                                                        b: bar(), /* Comment */ };
 
     Foo { a: Bar, b: f() };