Skip to content

Commit 412e6f7

Browse files
committed
Auto merge of #33050 - apasel422:bh, r=alexcrichton
Implement `Clone` for `binary_heap::IntoIter` r? @alexcrichton
2 parents aa58887 + 05afa68 commit 412e6f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcollections/binary_heap.rs

+1
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,7 @@ impl<'a, T> ExactSizeIterator for Iter<'a, T> {}
919919

920920
/// An iterator that moves out of a `BinaryHeap`.
921921
#[stable(feature = "rust1", since = "1.0.0")]
922+
#[derive(Clone)]
922923
pub struct IntoIter<T> {
923924
iter: vec::IntoIter<T>,
924925
}

0 commit comments

Comments
 (0)