We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With both normalize_comments and wrap_comments disabled, the following code is mangled:
normalize_comments
wrap_comments
fn foo { let f = bar(); // comment for this line // some comment here to describe the next line let b = baz(); }
Which gets "corrected" to the following:
Also,
fn foo { let f = bar(); // comment for this line // let b = baz(); }
Gets equally transformed to
Note that I expect neither wrap_comments nor normalize_comments to do this.
Suggested fix: if the comment on the next line starts at index 0, do not try to align them. See also #2949, which was fixed.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
With both
normalize_comments
andwrap_comments
disabled, the following code is mangled:Which gets "corrected" to the following:
Also,
Gets equally transformed to
Note that I expect neither
wrap_comments
nornormalize_comments
to do this.Suggested fix: if the comment on the next line starts at index 0, do not try to align them.
See also #2949, which was fixed.
The text was updated successfully, but these errors were encountered: