Forrest logo
back to context overview

cargo-clippy

List of commands for cargo-clippy:

  • cargo-clippy:tldr:3829f cargo-clippy: Run checks for a package.
    $ cargo clippy --package ${package}
    try on your machine
    explain this command
  • cargo-clippy:tldr:3915e cargo-clippy: Apply Clippy suggestions automatically.
    $ cargo clippy --fix
    try on your machine
    explain this command
  • cargo-clippy:tldr:59dae cargo-clippy: Require that `Cargo.lock` is up to date.
    $ cargo clippy --locked
    try on your machine
    explain this command
  • cargo-clippy:tldr:de155 cargo-clippy: Run checks on all packages in the workspace.
    $ cargo clippy --workspace
    try on your machine
    explain this command
  • cargo-clippy:tldr:e19cc cargo-clippy: Run checks over the code in the current directory.
    $ cargo clippy
    try on your machine
    explain this command
back to context overview