Made a little @rustlang crate last night implementing HashMap.map. Would love some feedback. Is it idiomatic? https://crates.io/crates/hashmap_to_hashmap/ …
-
-
Replying to @bradurani
@bradurani@rustlang Doesn't `HashMap#map` already work? You just take a tuple and return a tuple, which is what I'd expect here.1 reply 0 retweets 0 likes -
Replying to @sgrif1 reply 0 retweets 0 likes
Replying to @bradurani
@bradurani @rustlang `map` comes from the `Iterator` trait. You can collect an iterator into anything which implements `FromIterator`
2:25 PM - 20 Jan 2016
0 replies
0 retweets
0 likes
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.