Gigoteur / UnicornConsole

Unicorn Console: create quick fantasy game in Rust/Python/Lua/Rhai/Wasm !
MIT License
908 stars 47 forks source link

Run rustfmt over the codebase #37

Closed johnbatty closed 7 years ago

johnbatty commented 7 years ago

Generally good practice to use rustfmt to give consistent formatting throughout the codebase. See what you think.

I used:

cargo +nightly fmt

Note that the formatting style can be tweaked by settings in rustfmt.toml, but I thought easiest to start off with the standard settings. Personally I don't particularly like trailing commas, but that seems to be the preferred Rust style so I'll try to go with it and see if I get used to it!