10

Fix some `unnecessary_filter_map` false positives by smoelius · Pull Request #84...

 2 years ago
source link: https://github.com/rust-lang/rust-clippy/pull/8479
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.
neoserver,ios ssh client

Copy link

Contributor

smoelius commented 7 days ago

This is a proposed fix for #4433.

It moves clone_or_copy_needed out of unnecessary_iter_cloned.rs and into methods::utils. It then adds a check of this function to unnecessary_filter_map::check.

Fixes #4433

changelog: none


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK