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 supported23 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- redundant_clone: false positive in equality comparison
- Add an easy way to run clippy with high FPR / trivial lints disabled
- git subtree crashes: can't sync rustc clippy changes into rust-lang/rust-clippy
- Lint againt the use of `ref`
- New lint: Use `Into`/`TryInto` in bounds as opposed to `From`/`TryFrom`
- New lint: unnecessary use of std::ptr::read_unaligned() with slices
- New lint: `_.as_ptr() as *mut _` is Undefined Behavior
- New lint: `while let Some(&x) = slice.iter().next()` is infinite loop
- New lint: creation of huge array on the stack
- Improve the cognitive_complexity lint to show what lines are causing the complexity
- Docs
- Rust not yet supported