cargo clippy -- -W clippy::pedantic
Here's a list of lints and groups you can turn on/off: https://rust-lang.github.io/rust-clippy/master/index.html
Here's a list of lints and groups you can turn on/off: https://rust-lang.github.io/rust-clippy/master/index.html