rustfmt icon indicating copy to clipboard operation
rustfmt copied to clipboard

Fixing the potential deletion of comments

Open Priyansh4444 opened this issue 1 year ago • 0 comments

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 https://github.com/rust-lang/rustfmt/issues/6044

Priyansh4444 avatar Mar 26 '24 01:03 Priyansh4444