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
- unnecessary_cast: does not handle `std::ptr::null{_mut}`
- More granular `missing_docs`-like lints
- clippy doesn't generate `large_enum_variant` warning when using `bytes::Bytes`
- `self_named_module_files` does trigger for `lib.rs` for a crate inside of a workspace under `lib/`
- [WIP] unnecessary_cast: append suffix on `(literal as ty).method(args)`
- derivable_impls does not trigger on manual Default impl on enum if the impl uses `Self` instead of type name
- Bypassing constructor with manual_non_exhaustive and update syntax
- Do not flag for exact floating-point numbers
- Lint match statement matching #[non_exhaustive] enum
- `unnecessary_cast` can silently change behavior of numeric code
- Docs
- Rust not yet supported