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
- allow(single_component_path_imports) does not apply to imports in annotated modules.
- `filter_map_identity` is arguably overzealous
- False pattern_type_mismatch positive: suggests reference when not allowed (appears when unpacking)
- broken code after cargo clippy --fix
- Lint to detect non `#[repr(C)]` type in `#[repr(C)]` struct
- needless_range_loop suggests loop that stops earlier
- Convert if_chain! macros to the regular if statement
- New lint: types implementing `Deref` should impl `AsRef<Self::Target>` and `Borrow<Self::Target>` (same with mut versions)
- `redundant_closure_for_method_calls` does not respect certain lifetime requirements
- `type_repetition_in_bounds` misses `for<'a>` when combining higher-rank trait bounds
- Docs
- Rust not yet supported