shawntabrizi / rust-state-machine

A tutorial for building a Polkadot SDK-like state machine written from scratch in Rust.
https://www.shawntabrizi.com/rust-state-machine/
MIT License
56 stars 18 forks source link

Run `cargo fmt` and `cargo clippy` on whole project #15

Closed shawntabrizi closed 3 months ago

shawntabrizi commented 3 months ago

This PR introduces a check.sh script which does:

On the whole project.

I use RUSTFLAGS="-A unused" to ignore unused warnings, so the whole script should run without warnings or errors across the whole project.

You can run check.sh fix to run fixes on the repo