Closed bgilbert closed 1 year ago
By default, cargo clippy does not check tests. Run it with --all-targets to fix this. For consistency, add the same option to cargo build and cargo test.
cargo clippy
--all-targets
cargo build
cargo test
By default,
cargo clippy
does not check tests. Run it with--all-targets
to fix this. For consistency, add the same option tocargo build
andcargo test
.