mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-14 07:12:51 +00:00
e1a2845558
Add lint for comparing to empty slices instead of using .is_empty() Hey first time making a clippy lint I added the implementation of the lint the `len_zero` since it shared a lot of the code, I would otherwise have to rewrite. Just tell me if the lint should use it's own file instead changelog: Add lint for comparing to empty slices Fixes #6217 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |