mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 01:24:03 +00:00
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.