rust/library/alloc/src/collections
bors 203c8765ea Auto merge of #105046 - scottmcm:vecdeque-vs-vec, r=Mark-Simulacrum
Send `VecDeque::from_iter` via `Vec::from_iter`

Since it's O(1) to convert between them now, might as well reuse the logic.

Mostly for the various specializations it does, but might also save some monomorphization work if, say, people collect slice iterators into both `Vec`s and `VecDeque`s.
2022-12-05 08:45:03 +00:00
..
binary_heap Use Box::new() instead of box syntax in alloc tests 2022-05-29 00:41:14 +02:00
btree replace unusual grammar 2022-11-20 17:28:34 +02:00
linked_list Use Box::new() instead of box syntax in alloc tests 2022-05-29 00:41:14 +02:00
vec_deque Auto merge of #105046 - scottmcm:vecdeque-vs-vec, r=Mark-Simulacrum 2022-12-05 08:45:03 +00:00
binary_heap.rs Guarantee try_reserve preserves the contents on error 2022-08-10 01:51:38 +09:00
linked_list.rs more dupe word typos 2022-10-14 12:57:56 +08:00
mod.rs Modify comment syntax error 2022-11-07 14:33:33 +08:00