-
Notifications
You must be signed in to change notification settings - Fork 888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
format_code_in_doc_comments
formats some long line comments to block comments
#5533
Comments
Confirming I can reproduce this with the latest master 38659ec. |
I did some digging and It seems that Lines 447 to 461 in 38659ec
so when we call Lines 564 to 568 in 38659ec
For anyone interested in working on this I think there are two avenues to explore in order to address the issue:
Lines 368 to 382 in 38659ec
|
Maybe I can help this! |
Meta
rustfmt 1.5.1-nightly (b44197ab 2022-09-05)
Description
After enabling
format_code_in_doc_comments
, rustfmt formats the following line comments to block comments – which is neither a documented nor an expected behavior.Expectation
rustfmt
should not touch this.Actual Result
Screenshot
Related
#3348
The text was updated successfully, but these errors were encountered: