rust/src/liballoc/collections
Josh Stone 6700e18688 Add Extend::{extend_one,extend_reserve}
This adds new optional methods on `Extend`: `extend_one` add a single
element to the collection, and `extend_reserve` pre-allocates space for
the predicted number of incoming elements. These are used in `Iterator`
for `partition` and `unzip` as they shuffle elements one-at-a-time into
their respective collections.
2020-05-29 17:05:17 -07:00
..
btree Add Extend::{extend_one,extend_reserve} 2020-05-29 17:05:17 -07:00
linked_list liballoc tests: Miri supports threads now 2020-05-01 11:16:38 +02:00
vec_deque liballoc tests: Miri supports threads now 2020-05-01 11:16:38 +02:00
binary_heap.rs Add Extend::{extend_one,extend_reserve} 2020-05-29 17:05:17 -07:00
linked_list.rs Add Extend::{extend_one,extend_reserve} 2020-05-29 17:05:17 -07:00
mod.rs Reformat match statement to make the check pass 2020-03-11 17:55:14 +01:00
vec_deque.rs Add Extend::{extend_one,extend_reserve} 2020-05-29 17:05:17 -07:00