]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/struct_lits_multiline.rs
Tidy up and pass tests
[rust.git] / tests / target / struct_lits_multiline.rs
index 7cd2acd958fc1d88634c796439f3b3f787d7536d..c831dc7a8ba6c99fc9de7612c6ea1d092873c33b 100644 (file)
@@ -1,6 +1,6 @@
 // rustfmt-normalize_comments: true
 // rustfmt-wrap_comments: true
-// rustfmt-struct_lit_multiline_style: ForceMulti
+// rustfmt-struct_lit_single_line: false
 
 // Struct literal expressions.
 
@@ -59,11 +59,11 @@ fn main() {
     };
 
     Some(Data::MethodCallData(MethodCallData {
-                                  span: sub_span.unwrap(),
-                                  scope: self.enclosing_scope(id),
-                                  ref_id: def_id,
-                                  decl_id: Some(decl_id),
-                              }));
+        span: sub_span.unwrap(),
+        scope: self.enclosing_scope(id),
+        ref_id: def_id,
+        decl_id: Some(decl_id),
+    }));
 
     Diagram {
         //                 o        This graph demonstrates how