-
Notifications
You must be signed in to change notification settings - Fork 857
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
Comment before a list element is changed to an end-of-line comment for a different element #6132
Comments
It's definitely not a duplicate of that issue, and to me it seems only very loosely related.
(There's a good chance it's a duplicate of something, but I couldn't find anything relevant in my searches.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(playground link)
Input:
Output:
Here the intent was to have a comment associated with the element on the following line, but rustfmt confusingly turned the comment for the second element into an end-of-line comment for the first element.
The text was updated successfully, but these errors were encountered: