Skip to content

Commit

Permalink
Implement Clone for binary_heap::IntoIter
Browse files Browse the repository at this point in the history
  • Loading branch information
apasel422 committed Apr 17, 2016
1 parent d8d7174 commit 05afa68
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 05afa68

Please sign in to comment.