Closed
Description
Since rustfmt is deterministic and idempotent, running it twice on the same file should always have the same output (if it's not both of those things, it's a bug). So we can avoid running it unless the file has changed, which should make x fmt
without arguments much faster.
Originally posted by @chenyukang in #105648 (comment)
Metadata
Metadata
Assignees
Labels
No labels