about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorYacin Tmimi <yacintmimi@gmail.com>2021-11-17 20:46:48 -0500
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2021-12-14 13:28:25 -0600
commit57ac92bf1658a576fdc066b82a37aa3a7de2c96b (patch)
tree9974ea36f5aebea2fb9f56c91397cc61e0e640c6 /src/test/codegen/src-hash-algorithm
parent740fb57f5ddacddd9bcf074df701bcc50b46e69f (diff)
downloadrust-57ac92bf1658a576fdc066b82a37aa3a7de2c96b.tar.gz
rust-57ac92bf1658a576fdc066b82a37aa3a7de2c96b.zip
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.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions