milkey-mouse / planets

A space game.
GNU General Public License v3.0
3 stars 1 forks source link

Auto-format code with rustfmt #25

Closed milkey-mouse closed 5 years ago

milkey-mouse commented 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.

milkey-mouse commented 5 years ago

Also run as many lints as possible from a linter such as clippy.