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_attributes lint triggers inside derive macro
- transmute_ptr_to_ref wrongly suggests to use `cast` when the destination type is a DST
- Suggest faster `.contains()` instead of `.iter().any()` for `[u8]` and `[i8]` slices
- Warn if the order of impl trait functions is not the same as in trait definition
- fix incorrect suggestion for `!(a >= b) as i32 == c`
- Add `result_as_ref_deref` lint
- Fix for "manual implementation of Option::map" fails to convert && to &
- `expect_unstable` lint for feature instability assertions
- Add [`manual_ilog2`] lint
- Replace `assert!(a==b)` with `assert_eq!(a,b)` as part of `bool_assert_comparison` lint
- Docs
- Rust not yet supported