Closed milkey-mouse closed 5 years ago
I don't like rustfmt's defaults very much, especially splitting up arguments & structs even when it seems they could fit on one line. Fiddle with rustfmt's config until the diff (between auto-formatted and un-auto-formatted) is acceptably small.
Also run as many lints as possible from a linter such as clippy.
I don't like rustfmt's defaults very much, especially splitting up arguments & structs even when it seems they could fit on one line. Fiddle with rustfmt's config until the diff (between auto-formatted and un-auto-formatted) is acceptably small.