Made a little @rustlang crate last night implementing HashMap.map. Would love some feedback. Is it idiomatic? https://crates.io/crates/hashmap_to_hashmap/ …
@bradurani @rustlang Doesn't `HashMap#map` already work? You just take a tuple and return a tuple, which is what I'd expect here.
-
-
-
@bradurani@rustlang `map` comes from the `Iterator` trait. You can collect an iterator into anything which implements `FromIterator`
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.