-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Rustfmt ate a single line comment in a long list of trait bounds #3669
Copy link
Copy link
Open
Labels
A-binary-opsArea: binary operatorsArea: binary operatorsA-commentsArea: commentsArea: commentsC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEI-unexpectedly-removes-codeIssue: unexpectedly removes code that we should not be removingIssue: unexpectedly removes code that we should not be removing
Description
Activity
Metadata
Metadata
Assignees
Labels
A-binary-opsArea: binary operatorsArea: binary operatorsA-commentsArea: commentsArea: commentsC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEI-unexpectedly-removes-codeIssue: unexpectedly removes code that we should not be removingIssue: unexpectedly removes code that we should not be removing
I ran a
rustfmtcleanup as a commit on a repo, found this in the diff.Lokathor/randomize@103992e#diff-b316dc9cf67a100913b39ef102078235L48
Particularly:
Now, in this particular case the comment was just a joke, but it could have been very important, and it might have even applied to that particular line in the chain of bounds, so the comment should stay in, and it should stay with that exact bound in the bound list.