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
- new lint: and_then_then_some
- Warn if a `[patch.*]` section is used on a dependency of a library
- consider making clippy_lints into a dylib for faster recompilation.
- `Option::and_then(|v| ...(&v).then_some(v))` to `Option::filter(|v| ...(v))`
- `manual_unwrap_or_default` invalid suggestion on macro expanded code
- Warn against non-obvious const shadowing
- `clippy::clone_on_copy` following recommendation on lock guards can lead to dead locks
- Calling .metadata() just for .is_{file,dir,symlink} when DirEntry is available
- Compiler errors after clippy fixes. Maybe issue with WebAssembly attribute.
- new lint: passthrough enumerate
- Docs
- Rust not yet supported