about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorYacin Tmimi <yacintmimi@gmail.com>2021-12-19 16:47:13 -0500
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2022-02-03 18:52:58 -0600
commit606894eb0b1dcc3a4616aff4b54dbd19a2a46ba5 (patch)
tree24bde5880007ee32a51f94c164c2879c16b76916 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent368a9b7cef25c22c3e836453e73d8584b251b578 (diff)
downloadrust-606894eb0b1dcc3a4616aff4b54dbd19a2a46ba5.tar.gz
rust-606894eb0b1dcc3a4616aff4b54dbd19a2a46ba5.zip
Retain trailing separator when extracting the last inline post comment
Fixes 5042

Previously, trailing commas were removed from the last inline comment.
This lead to rustfmt refusing to format code snippets because
the original comment did not match the rewritten comment.

Now, when rustfmt extracts the last inline comment it leaves trailing
separators alone. Rustfmt does not need to remove these separators
because they are commented out.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions