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
- the advice for unused return value of `std::option::Option::<T>::map_or` is wrong
- `significant_drop_tightening` on guard while indirectly borrowed
- Suggest replacing `.unwrap_or_else(|| panic!("..."))` with `.expect("...")` on `Option<T: Debug>`
- `unused_phantomdata`
- Use binary radix in `bitflags!`
- new rule `unused_extract_if`
- Clippy returning incorrect exit code when automatically applying lint suggestions
- `map_unwrap_or` suggests code that does not compile
- needless_match can trigger from some single-arm capture matches
- Ignoring lints added after a given Rust version
- Docs
- Rust not yet supported