rust/tests/target/issue-5066
Yacin Tmimi 57ac92bf16 Prevent duplicate comma when formatting struct pattern with ".."
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.
2021-12-14 13:28:25 -06:00
..
multi_line_struct_trailing_comma_always_struct_lit_width_0.rs Prevent duplicate comma when formatting struct pattern with ".." 2021-12-14 13:28:25 -06:00
multi_line_struct_trailing_comma_never_struct_lit_width_0.rs Prevent duplicate comma when formatting struct pattern with ".." 2021-12-14 13:28:25 -06:00
multi_line_struct_with_trailing_comma_always.rs Prevent duplicate comma when formatting struct pattern with ".." 2021-12-14 13:28:25 -06:00
multi_line_struct_with_trailing_comma_never.rs Prevent duplicate comma when formatting struct pattern with ".." 2021-12-14 13:28:25 -06:00
with_trailing_comma_always.rs Prevent duplicate comma when formatting struct pattern with ".." 2021-12-14 13:28:25 -06:00
with_trailing_comma_never.rs Prevent duplicate comma when formatting struct pattern with ".." 2021-12-14 13:28:25 -06:00