rust-clippy
https://github.com/rust-lang-nursery/rust-clippy
Rust
A bunch of lints to catch common mistakes and improve your Rust code
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
- Configuring clippy in Cargo.toml missing from documentation?
- Suggest to use raw strings for strings with many quoted escapes
- 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
- `wildcard_enum_match_arm` lint don't work in case of a single variant
- Docs
- Rust not yet supported