rust/src/libstd/collections/hash
bors ce468e643a auto merge of #19946 : cgaebel/rust/hashmap-drain-iter, r=gankro
It is useful to move all the elements out of a hashmap without deallocating
the underlying buffer. It came up in IRC, and this patch implements it as
`drain`.

r? @Gankro
cc: @frankmcsherry
2014-12-21 07:22:45 +00:00
..
bench.rs Implement low-hanging fruit of collection conventions 2014-11-06 12:25:44 -05:00
map.rs auto merge of #19946 : cgaebel/rust/hashmap-drain-iter, r=gankro 2014-12-21 07:22:45 +00:00
mod.rs refactor libcollections as part of collection reform 2014-11-02 18:58:11 -05:00
set.rs auto merge of #19946 : cgaebel/rust/hashmap-drain-iter, r=gankro 2014-12-21 07:22:45 +00:00
table.rs [collections] Adds drain: a way to sneak out the elements while clearing. 2014-12-18 22:16:51 -05:00