rust/tests
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
..
cargo-fmt ensure cargo-fmt tests are excluded from root workspace 2021-10-20 10:12:22 -05:00
config chore: backport 8157a3f0afe978d3e953420577f8344db7e905bf 2020-07-15 09:19:21 -05:00
coverage Replace WriteMode with EmitMode and backup bool 2018-05-21 14:14:09 +12:00
license-template fix: handling of empty str for license template path (#3804) 2019-09-24 09:24:05 +09:00
mod-resolver Backport: Do not touch module with #![rustfmt::skip] (4297) 2021-12-07 18:45:00 -06:00
parser tests: add test for panic on new_parser_from_file 2020-11-02 18:31:51 -06:00
rustfmt Cargo fmt 2019-09-24 09:26:50 +09:00
source Determine when new comment lines are needed for itemized blocks 2021-12-01 18:31:10 -06:00
target Prevent duplicate comma when formatting struct pattern with ".." 2021-12-14 13:28:25 -06:00
writemode Fix line numbers in checkstyle output (#3694) 2019-08-19 11:11:35 +09:00