diff --git a/src/libcollections/binary_heap.rs b/src/libcollections/binary_heap.rs index b01a09a2fe3..43c6e6e8120 100644 --- a/src/libcollections/binary_heap.rs +++ b/src/libcollections/binary_heap.rs @@ -919,6 +919,7 @@ impl<'a, T> ExactSizeIterator for Iter<'a, T> {} /// An iterator that moves out of a `BinaryHeap`. #[stable(feature = "rust1", since = "1.0.0")] +#[derive(Clone)] pub struct IntoIter { iter: vec::IntoIter, }