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 supported21 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- `incompatible_msrv` false positive: Trait methods of the same name
- Suggest ! return type for functions that never return a value
- complexity: use `extend` instead of `append`
- Idea: lint initialising structs with non-`pub` fields outside of their initialisers
- `missing_panics_doc` with `check-private-items` should not trigger on tests
- join_absolute_paths is not always right on Windows when dealing with just drive letter paths ("C:")
- `items_after_test_module` lints on `#[cfg(test)]` modules that don't have tests in them
- Use `write_str` instead of `write!` or `write_fmt` when format has no args
- map_flatten: suggest just `flatten` where `map(|a| a.into_iter()).flatten()`
- Clippy doesn't respect workspace.exclude setting in workspace Cargo.toml
- Docs
- Rust not yet supported