Catch Common Mistakes and Improve Your Rust Code

November 08, 2022

To install:

    rustup component add clippy

To run on a cargo project in the current working directory:

    cargo clippy

To automatically applying Clippy suggestions

    cargo clippy --fix

Official Documentation


Profile picture

Things I've learned, collected in luisjuarros/til.
You may also enjoy my blog and/or my twitter.