mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-20 18:13:36 +00:00
e933bb6bc3
feat(lint): add default_iter_empty close #8915 This PR adds `default_iter_empty` lint. This lint checks `std::iter::Empty::default()` and replace with `std::iter::empty()`. Thank you in advance. --- changelog: add `default_instead_of_iter_empty` lint. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |