-
Notifications
You must be signed in to change notification settings - Fork 935
Closed
Labels
a-commentsbugPanic, non-idempotency, invalid code, etc.Panic, non-idempotency, invalid code, etc.good first issueIssues up for grabs, also good candidates for new rustfmt contributorsIssues up for grabs, also good candidates for new rustfmt contributorshelp wanted
Description
trait Test</* comment */ T> {}
Gets reformatted as
trait Test</* comment */ T> /* comment */ T> {}
Whereas no changes were expected.
Playground:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=88c36ba8a83e2c01030bbbf95327be6a
Setting version = Two
has no effect.
λ rustfmt --version
rustfmt 1.4.38-stable (7737e0b 2022-04-04)
Metadata
Metadata
Assignees
Labels
a-commentsbugPanic, non-idempotency, invalid code, etc.Panic, non-idempotency, invalid code, etc.good first issueIssues up for grabs, also good candidates for new rustfmt contributorsIssues up for grabs, also good candidates for new rustfmt contributorshelp wanted