gamedig / rust-gamedig

Game Server Query Library.
https://crates.io/crates/gamedig
MIT License
38 stars 11 forks source link

Chore: formatting #22

Closed cainthebest closed 1 year ago

cainthebest commented 1 year ago

Standardize a format for the code so that format on save or commit doesn't ruin the commit. This uses nightly fmt as stable fmt doesn't have that much choice. Just use cargo +nightly fmt or in vscode with rust-analyser just format (Shift + Alt + F). This does require the nightly toolchain for formatting but easily added with rustup install nightly.