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 supported18 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- range_plus_one lint wrongly suggests using RangeInclusive when Range is required and the other way around
- lint `vec.clone().into_iter().stuff().collect()` to suggest `vec.iter().stuff().cloned().collect()`
- New lint: suggest `is_ok()` when using wild pattern in both Ok and Err
- suggets simplifying Err(_), Some(_) or Ok(_) to _ inside match if all options are exhausted
- Should repr(C) enums be linted?
- Lint for unused arguments starting with a _
- Lint suggestion - elide pointless match
- shadow_unrelated breaks when intermediary bindings are used
- Lint casting integers to pointers
- Lint calls to `#[no_mangle]` functions that don't have `#[inline(never)]`
- Docs
- Rust not yet supported