Use Clippy to fix your lint suggestions

Rust has this nice linter that’s included and you can run using cargo clippy to get more than 600 possible suggestions on what to improve in your code.

Clippy also has this nice little option --fix that you can use to tell it to apply all of its suggestions automatically!

Clippy fix

What are you up to Petros?

Staying calm. Indie 2D retro style game dev wannabe. Check what I am doing now.

Enjoy my posts? Subscribe to not miss any future ones:

Join 1,781 other subscribers

Leave a Reply