A collection of lints to catch common mistakes and improve your Rust code. More information: https://github.com/rust-lang/rust-clippy.
cargo clippy
Cargo.lock
is up to date:cargo clippy --locked
cargo clippy --workspace
cargo clippy --package {{package}}
RUSTFLAGS="-Dwarnings" cargo clippy -- -D warnings
cargo clippy -- -A warnings
cargo clippy --fix -Z unstable-options