Implement Clone for binary_heap::IntoIter
This commit is contained in:
parent
d8d71747fe
commit
05afa68f7d
1 changed files with 1 additions and 0 deletions
|
|
@ -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>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue