Fixes 5066 When a struct pattern that contained a ".." was formatted, it was assumed that a trailing comma should always be added if the struct fields weren't formatted vertically. Now, a trailing comma is only added if not already included in the reformatted struct fields. |
||
|---|---|---|
| .. | ||
| multi_line_struct_trailing_comma_always_struct_lit_width_0.rs | ||
| multi_line_struct_trailing_comma_never_struct_lit_width_0.rs | ||
| multi_line_struct_with_trailing_comma_always.rs | ||
| multi_line_struct_with_trailing_comma_never.rs | ||
| with_trailing_comma_always.rs | ||
| with_trailing_comma_never.rs | ||