rust/clippy_utils
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 Merge 'rust-clippy/master' into clippyup 2022-05-21 13:24:00 +02:00