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
- `collapsible_if` false positive with RefCell borrow
- Explicit unlock for locks
- `RefCell<u32>` -> `Cell<u32>`
- `cast_possible_truncation` triggers when the value is guranteed to not be truncated
- Duration's constructors should not trigger or_fun_call
- invalid "no field on type" errors
- Better documentation for disallowed_method lint
- Multiple if-let arms can be replaced with match
- Ling suggestion: use a range to cycle between values, instead arithmetic remainder.
- Macros wrapping expressions in `unsafe` blocks when using `unsafe_op_in_unsafe_fn`
- Docs
- Rust not yet supported