7

Github `needless_collect` enhancements by mgacek8 · Pull Request #7188 · rust-la...

 3 years ago
source link: https://github.com/rust-lang/rust-clippy/pull/7188
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Copy link

Contributor

mgacek8 commented 28 days ago

fixes #7164
changelog: needless_collect: For BTreeMap and HashMap lint only is_empty, as len might produce different results than iter's count
changelog: needless_collect: Lint LinkedList and BinaryHeap in direct usage case as well


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK