Skip to content
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

Don't remove inner attributes from loop, for and while expressions #6010

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ytmimi
Copy link
Contributor

@ytmimi ytmimi commented Jan 6, 2024

Fixes #5973

The attribute docs in the rust reference explain that inner attributes are allowed in block expressions.

Fixes 5973

The [attribute] docs in the rust reference explain that inner
attributes are allowed in block expressions.

[attribute]: https://doc.rust-lang.org/reference/attributes.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rustfmt remove attribute
2 participants