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

Preserve comments in empty statements #4180

Merged
merged 2 commits into from
May 20, 2020

Conversation

ayazhafiz
Copy link
Contributor

Closes #4018

@topecongiro topecongiro added the blocked Blocked on rustc, an RFC, etc. label May 17, 2020
@ayazhafiz ayazhafiz requested a review from calebcartwright May 18, 2020 02:02
@calebcartwright
Copy link
Member

Changes LGTM, though want to wait til we get the new rustc-ap-* changes before merging

@ayazhafiz
Copy link
Contributor Author

sg

@calebcartwright calebcartwright removed the blocked Blocked on rustc, an RFC, etc. label May 20, 2020
@calebcartwright calebcartwright merged commit 45895dc into rust-lang:master May 20, 2020
@ayazhafiz ayazhafiz deleted the i/4018 branch May 20, 2020 15:48
bradleypmartin pushed a commit to bradleypmartin/rustfmt that referenced this pull request May 25, 2020
* Preserve comments in empty statements

Closes rust-lang#4018

* fixup! Preserve comments in empty statements
calebcartwright pushed a commit to calebcartwright/rustfmt that referenced this pull request Oct 24, 2020
* Preserve comments in empty statements

Closes rust-lang#4018

* fixup! Preserve comments in empty statements
calebcartwright pushed a commit that referenced this pull request Oct 24, 2020
* Preserve comments in empty statements

Closes #4018

* fixup! Preserve comments in empty statements
@karyon
Copy link
Contributor

karyon commented Oct 25, 2021

backported in #4491

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 deletes comments inbetween semicolons
4 participants