-// rustfmt-struct_lit_style: VisualIndent
+// 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(), };
+ Fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { a: f(), b: b() };
Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { // Comment
- a: foo(), /* C
- * o
- * m
- * m
- * e
- * n
- * t */
+ a: foo(), /* Comment */
// Comment
- b: bar(), /* C
- * o
- * m
- * m
- * e
- * n
- * t */ };
+ b: bar(), /* Comment */ };
- Foo { a: Bar, b: foo() };
+ 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.