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
- empty_array.rs test removed because it ICEs on CI
- Lint against `x.borrow()` / `x.borrow_mut()` in favor of `&x` and `&mut x` when fit
- Suggest std::iter::{once, empty}
- New lint: `while let Some(&x) = slice.iter().next()` is infinite loop
- Should //run-rustfix tests apply HasPlaceholders suggestions?
- Make -Wlintname work as a shortcut for -Wclippy::lintname
- unnecessary_unwrap: should not trigger if the `is_some` is just part of the conditional
- New lint: API complexity
- Clippy leaves cargo running in the background on SIGTERM
- New lint: creation of huge array on the stack
- Docs
- Rust not yet supported