Block comment inside match adds unnecessary comma #6373
Labels
a-comments
a-matches
match arms, patterns, blocks, etc
bug
Panic, non-idempotency, invalid code, etc.
Using
rustfmt 1.7.1-stable (eeb90cda 2024-09-04)
, In the following example:Rustfmt adds an additional comma before the block comment, which causes the following error:
The text was updated successfully, but these errors were encountered: