News for hackers. Stuff that matters.
Re:First Impressions of Rust by ssokolow on Friday August 07, 2020 @04:19AM (#24079613)
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.)

There are no comments on this comment yet.