-// rustfmt-struct_lit_style: VisualIndent
+// rustfmt-wrap_comments: true
+// rustfmt-struct_lit_style: Visual
// Struct literal expressions.
b: bar(),
..something };
- Fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { a: foo(),
- b: bar(), };
+ Fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { a: f(), b: b() };
- Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { // Comment
+ Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { // Commen
+ // t
a: foo(), /* C
* o
* m
* e
* n
* t */
- // Comment
+ // Commen
+ // t
b: bar(), /* C
* o
* m
* n
* t */ };
- 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.