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 supported20 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- unnecessary_lazy_evaluations warns about `str::len`
- borrow_as_ptr false positive on sequence of pointer casts
- Spurious warning in #[allow(clippy::non_send_fields_in_send_ty)] for complex thread-safe wrapper
- Clippy should detect opportunities for `into_` variants
- warn on casting integer division to a float
- ICE on rustdoc test: delay span bug / thread::spawn failed: issue-80992.rs
- Unnecessary cast for non-literal expressions
- Suggest removing `if let` mapping to identity instead of suggesting the use of `map` and the remval in separate steps
- return_self_not_must_use strange interaction with trait methods
- Warn on probably incorrect usage of atomic `atomic.store(atomic.load() op n)`
- Docs
- Rust not yet supported