rust-clippy
https://github.com/rust-lang/rust-clippy
Rust
A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Rust not yet supported21 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- Suggest to use raw strings for strings with many quoted escapes
- Autofix for needless_return with unsafe block produces invalid code
- err_missing_error
- Warn if user calls `.to_string()` multiple times on variable.
- `.as_ref().map(|x| *x)` is no longer warned
- lint suggests dropping temporary with significant drop after another function takes ownership of it.
- Prefer `Option::take` over `std::mem::take`
- Race condition in clippy --fix when two lints apply to the same expression with assert and format in it.
- `significant_drop_tightening` recommends dropping a lock in the middle of a loop
- unused or incorrect lints in Cargo.toml fail silently
- Docs
- Rust not yet supported