Open vporton opened 2 weeks ago
In HashMap there is mapFilter method, but in Iter such a method is missing.
HashMap
mapFilter
Iter
That inconsistency calls to add mapFilter to Iter. It would also be a highly useful method (take how often a similar method filterMap is used in Rust!)
filterMap
In
HashMap
there ismapFilter
method, but inIter
such a method is missing.That inconsistency calls to add
mapFilter
toIter
. It would also be a highly useful method (take how often a similar methodfilterMap
is used in Rust!)