rust-clippy/clippy_lints
bors e933bb6bc3 Auto merge of #8989 - kyoto7250:default_iter_empty, r=Alexendoo
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.
2022-06-17 21:06:09 +00:00
..
src Auto merge of #8989 - kyoto7250:default_iter_empty, r=Alexendoo 2022-06-17 21:06:09 +00:00
Cargo.toml Add lint output to lint list 2022-06-06 20:04:56 -04:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.