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
- Suggest `unwrap_or_else` instead of the trailing match statement
- `duplicated_attributes` false positive on lint reasons (and other attributes too)
- `derived_hash_with_manual_eq`: `#[expect]` doesn't suppress the lint but `#[allow]` does
- False positive `unfulfilled_lint_expectations` for `enum_glob_use` with `--all-targets` or `--tests`
- `clippy::needless_maybe_sized` emits a false positive on derived impls with Sized bounds
- 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
- Add `result_as_ref_deref` lint
- Fix for "manual implementation of Option::map" fails to convert && to &
- Docs
- Rust not yet supported