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

Fixing the potential deletion of comments #6125

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Priyansh4444
Copy link

@Priyansh4444 Priyansh4444 commented Mar 26, 2024

Adding a check to make sure comments are not being removed! by adding a simple check to see what it is being rewritten to.

This was done by simply adding a check if a previously existing comment has been erased after the rewrite.

Attempting to Fix #6044

@Priyansh4444 Priyansh4444 changed the title Issue #6044 Fixing the potential deletion of comments Mar 26, 2024
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 in "or" patterns
2 participants