-// rustfmt-struct_lit_style: Visual
+// rustfmt-normalize_comments: true
+// rustfmt-wrap_comments: true
+// rustfmt-indent_style: Visual
+// rustfmt-error_on_line_overflow: false
// Struct literal expressions.
b: bar(),
..something };
- Fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { a: foo(), b: bar() };
-
- Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { // Commen
- // t
- a: foo(), /* C
- * o
- * m
- * m
- * e
- * n
- * t */
- // Commen
- // t
- b: bar(), /* C
- * o
- * m
- * m
- * e
- * n
- * t */ };
-
- Foo { a: Bar, b: foo() };
+ Fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { a: f(), b: b() };
+
+ Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { // Comment
+ a: foo(), /* Comment */
+ // Comment
+ b: bar(), /* Comment */ };
+
+ Foo { a: Bar, b: f() };
Quux { x: if cond {
bar();
},
y: baz(), };
+ Baz { x: yxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,
+ z: zzzzz, /* test */ };
+
A { // Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit
// amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante
// hendrerit. Donec et mollis dolor.