New lint: filter_map_identity
#6643
Labels
A-lint
Area: New lints
good-first-issue
These issues are a good way to get started with Clippy
L-complexity
Lint: Belongs in the complexity lint group
T-middle
Type: Probably requires verifiying types
What it does
It's the same as
flat_map_identity
, but withfilter_map
.Example
Could be written as:
The text was updated successfully, but these errors were encountered: