-
Notifications
You must be signed in to change notification settings - Fork 13.4k
prettyprinter reorders comments to show before doc comments #6678
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Doc comments need to be right before, don't they? I'm not sure, just wondering out loud. That'd make sense... |
Still reproduces |
triage bump. nothing to add. |
Still reproduces. (@steveklabnik it's okay to have normal comments between the doc comment and the function, since they're not seen by the parser at all.) |
Triage: still here. |
Triage: still here in nightly (using rustup) |
Triage: no change in behavior, though the flags have changed:
|
Fix typo This patch fixes a typo. changelog: none
Closing this on the hypothesis of "if this was unintended behavior, someone would have fixed it within the past 10 years". Seems harmless, but maybe I'm wrong? 🤷♀️ |
@workingjubilee: seems less likely this is intended behaviour and more likely this is just low priority compared to other issues. |
I'm not sure this is supposed to happen, but maybe it's prettier this way...
The text was updated successfully, but these errors were encountered: