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

Here’s what I am doing

At Workbrew, I help our customers succeed, while working on docs, fixing bugs, and developing internal tools. At Amignosis, I pour my heart and skill into crafting slowly brewed software, one thoughtful line at a time. I am craftsman in a world of complexity and low-quality solutions. I am a shoemaker. I take the time to create simple, timeless software built to last. Check what I am doing now and talk to me.

Join 72 other subscribers

Leave a Reply

Discover more from Petros Amoiridis

Subscribe now to keep reading and get access to the full archive.

Continue reading