Rust · Command
cargo clippy
Clippy checks Rust code for common mistakes and style issues. Run it with Cargo, configure lint levels, and optionally apply supported fixes.
Last updated
Syntax
cargo clippy [options] [-- <rustc options>]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
cargocargo-fixcargo-fmtclippy-driverclippy::allclippy::pedanticclippy.tomlCargo.toml