mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
8a7dc215b0
The implementation is unsound when a partially consumed iterator has
some elements buffered in the front/back parts and cloning the Iterator
removes the capacity from the backing vec::IntoIter.
(cherry picked from commit 3d871b3ced)