You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And completely discard the commented-out HashMap. Similarly, this will also remove all comments within the braces for imports, regardless of whether they include valid imports.
The text was updated successfully, but these errors were encountered:
This is actually a duplicate of #4708 and #3984. This issue was fixed in another branch and we're waiting for #5290 to be merged so we can backport that fix. I've gone ahead and tested your code snippet on the #5290 branch and the comments are left in place 😄
Since this is a duplicate I'm going to go ahead and close the issue. Thanks again for taking the time to bring this to our attention!
Minimal example: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=942d0b7867cbdf3c09ff7d639a41719c
Rustfmt will turn this into:
And completely discard the commented-out
HashMap
. Similarly, this will also remove all comments within the braces for imports, regardless of whether they include valid imports.The text was updated successfully, but these errors were encountered: