]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #7833 : blake2-ppc/rust/hashmap-consume, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 18 Jul 2013 17:19:44 +0000 (10:19 -0700)
committerbors <bors@rust-lang.org>
Thu, 18 Jul 2013 17:19:44 +0000 (10:19 -0700)
Updated all users of HashMap, HashSet ::consume() to use
.consume_iter().

Since .consume_iter() takes the map or set by value, it needs awkward
extra code to in librusti's use of @mut HashMap, where the map value can
not be directly moved out.

Addresses issue #7719


Trivial merge