It's incredibly annoying to make a small code change, which to a human is perfectly well formatted and readable, only to have the PR rejected by a
rustfmt check. And not because the code is wrong in any way, but because some fuzzy logic crossed some threshold, and now
rustfmt wants the code formatted in a different way.
It takes a long time for the CI to run and fail on a triviality, and a tiny PR turns into a back-and-forth.
Rustc needs nightly
rustfmt, and nightlies are flaky. Rustfmt in today's nightly fails with
'internal error: entered unreachable code'.
gofmt, which is a gentle little helper,
rustfmt is incredibly harsh, nitpicky, and totally uncompromising even about the most trivial and irrelevant details of formatting.
gofmt is deterministic and idempotent.
rustfmt is too, but goes way beyond that to making formatting and AST relationship bijective, and forcibly stripping code from all human judgement to the point of requiring unnecessary or even absurd changes.
Please don't require
rustfmt. It's an incredibly inflexible tool that unnecessarily rejects good code.