mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
60a900ee10
The unsoundness is not in Peekable per se, it rather is due to the interaction between Peekable being able to hold an extra item and vec::IntoIter's clone implementation shortening the allocation. An alternative solution would be to change IntoIter's clone implementation to keep enough spare capacity available. |
||
---|---|---|
.. | ||
btree | ||
binary_heap.rs | ||
lib.rs | ||
linked_list.rs | ||
slice.rs | ||
str.rs | ||
string.rs | ||
vec_deque_append.rs | ||
vec_deque.rs | ||
vec.rs |