Skip to content
masterclass Buddy

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.

Subscribe
  • cargo
  • cargo-fix
  • cargo-fmt
  • clippy-driver
  • clippy::all
  • clippy::pedantic
  • clippy.toml
  • Cargo.toml

Source: Usage - Clippy Documentation. Checked 2026-11-03.