7
Github `needless_collect` enhancements by mgacek8 · Pull Request #7188 · rust-la...
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.
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
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK