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
Given this admittedly contrived input, running rustfmt once removes the semicolon. Running it a second time removes the braces for the match body.
I don't know if rustfmt has a rule about being idempotent, but it certainly would surprise me to regularly encounter situations where I have to manually run it to a fixed point.
Tested in the playground, 1.8.0-stable (2024-11-26 90b35a6239).
The text was updated successfully, but these errors were encountered:
Given this admittedly contrived input, running rustfmt once removes the semicolon. Running it a second time removes the braces for the match body.
I don't know if rustfmt has a rule about being idempotent, but it certainly would surprise me to regularly encounter situations where I have to manually run it to a fixed point.
Tested in the playground, 1.8.0-stable (2024-11-26 90b35a6239).
The text was updated successfully, but these errors were encountered: