3 ms·
Unfortunately, `rustfmt.toml` isn't expressive enough, even on nightly. I've had to make use of `rustfmt::skip` in various places to keep it from doing things
by ssokolow 6y ago
Unfortunately, `rustfmt.toml` isn't expressive enough, even on nightly.
I've had to make use of `rustfmt::skip` in various places to keep it from doing things like mangling the groupings and explanatory comments in `const` arrays or making code gratuitously tall and thin.
...and that sometimes means either `git gui` cherry-picking and only running rustfmt infrequently or applying `rustfmt::skip` too broadly because of errors like "error[E0658]: attributes on expressions are experimental"
(I'm in the process of migrating from cherry-picking to over-broad `rustfmt::skip` so I can use format-on-save.)