Implement Clone for binary_heap::IntoIter

This commit is contained in:
Andrew Paseltiner 2016-04-17 09:28:30 -04:00
parent d8d71747fe
commit 05afa68f7d
No known key found for this signature in database
GPG key ID: DA5CDC15F9BEDB2B

View file

@ -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<T> {
iter: vec::IntoIter<T>,
}