Skip to content

Commit

Permalink
Auto merge of #33050 - apasel422:bh, r=alexcrichton
Browse files Browse the repository at this point in the history
Implement `Clone` for `binary_heap::IntoIter`

r? @alexcrichton
  • Loading branch information
bors committed Apr 17, 2016
2 parents aa58887 + 05afa68 commit 412e6f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcollections/binary_heap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
}
Expand Down

0 comments on commit 412e6f7

Please sign in to comment.