#rustlint — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #rustlint, aggregated by home.social.
-
🔍 #Rustlang Tip: Use cargo clippy to catch common mistakes and improve your code quality.
It's also a great learning tool! It will show you best practices to follow, and by reading and understanding the suggestions you can improve not only the code its linting but also your skills as a Rust developer!
You can enable Clippy as the default linter in VS Code by adding the JSON from the screenshot below to your settings.json file.