]> git.lizzy.rs Git - rust.git/commit
hashmap: Iterators for hashset diff, sym. diff, intersec, union
authorblake2-ppc <blake2-ppc>
Tue, 16 Jul 2013 01:55:52 +0000 (03:55 +0200)
committerblake2-ppc <blake2-ppc>
Tue, 16 Jul 2013 02:09:41 +0000 (04:09 +0200)
commit750f32dbb5d550959d356821d757c03524367219
tree2856d16d6c65b444ceb1d38c6c63be30cbdc336e
parentcf4127f503b58823a7cd287ddebeb6f0f3de5794
hashmap: Iterators for hashset diff, sym. diff, intersec, union

Implement the difference, union, etc iterators with the help of a custom
iterator combinator with explicit closure environment. Reported issue #7814
to be able to use the std::iterator filter combinator.
src/libstd/hashmap.rs