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
- Detect assignment operators that do nothing (e.g. `+= 0`)
- Lint for `addr_of` -> `&raw const` and `addr_of_mut` -> `&raw mut`
- `redundant_as_str` misses chained method calls
- fix: [`suboptimal_flops`] false negative with ambiguous float literals
- Avoid ICE when evaluating constants containing unsized type args
- feat(lint): Add `missing_no_std_attribute`
- Implement Interchangeable_params lint
- feat(lint): Add `conditional_no_std_attribute` lint
- fix: lints for UFCS call in [`clone_on_copy`]
- clone_on_copy does not trigger in some cases if the cloned value is borrowed directly after
- Docs
- Rust not yet supported