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-12-09 23:17:43 -0500
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2022-01-29 12:20:34 -0600
commit8b0b213cddb23a9bbe421b717d1a0e5fb3982712 (patch)
tree328e89d4cf0e2fd52e916c2f58a149e43bcaaa30 /src/test/codegen/src-hash-algorithm
parentb4a4bf0bf8a16913b9f16f2aee7030065ff00931 (diff)
downloadrust-8b0b213cddb23a9bbe421b717d1a0e5fb3982712.tar.gz
rust-8b0b213cddb23a9bbe421b717d1a0e5fb3982712.zip
Prevent adding trailing whitespace when rewriting ast::Param
Fixes 5125

Previously, a newline was always added, even if the parameter name was
not preceded by any param attrs.

Now a newline is only added if there were param attrs.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions