mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-03-20 09:01:05 +08:00
# Description of Changes `cargo ci lint` was running `cargo fmt`, but that didn't pick up all files. As a result, our pre-commit hook (which just runs `rustfmt` on any changed `.rs` files) would change otherwise-untouched files in merge commits. This PR addresses that discrepancy by having `cargo ci lint` run `rustfmt` on all tracked `.rs` files. The entire diff is just `rustfmt` changes except for the changes in `tools/ci/src/main.rs`. # API and ABI breaking changes <!-- If this is an API or ABI breaking change, please apply the corresponding GitHub label. --> # Expected complexity level and risk 2 # Testing - [x] `cargo ci lint` fails - [x] `cargo ci lint` passes after running `rustfmt` on everything - [x] `cargo fmt --all` doesn't cause any diff after doing the above --------- Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>