You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a bunch of iterator chains that are clearer with the new find_map. Off the top of my head, .find(_).map(_) and .filter_map(_).nex(). I think clippy should have a lit for this like the filter_map and filter_next lints.
The text was updated successfully, but these errors were encountered:
Add lints for find_map
changelog: adds lints for find_map and filter_map_next. Closes issue #3474
Hope I got everything correctly this time! Let me know if I missed something.
Thanks! For Clippy I get notified for every comment/PR/issue/... anyway. Doesn't matter if I'm tagged or not.
I first look at the notifications I'm mentioned in though (if the list is long). Since these kind of issues are low hanging fruits, because I just have to click on close and give you a ❤️ for triage-ing, you can keep tagging me 👍
There are a bunch of iterator chains that are clearer with the new
find_map
. Off the top of my head,.find(_).map(_)
and.filter_map(_).nex()
. I think clippy should have a lit for this like thefilter_map
andfilter_next
lints.The text was updated successfully, but these errors were encountered: