about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Paseltiner <apaseltiner@gmail.com>2016-04-17 09:28:30 -0400
committerAndrew Paseltiner <apaseltiner@gmail.com>2016-04-17 09:28:30 -0400
commit05afa68f7d98ae1e28358428cb077ce9c18d034e (patch)
treea92589a4b8cfc90ccc25624333fe28e4261d93ce
parentd8d71747fea8ade214cd2da9703d1823b6b314a8 (diff)
downloadrust-05afa68f7d98ae1e28358428cb077ce9c18d034e.tar.gz
rust-05afa68f7d98ae1e28358428cb077ce9c18d034e.zip
Implement `Clone` for `binary_heap::IntoIter`
-rw-r--r--src/libcollections/binary_heap.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcollections/binary_heap.rs b/src/libcollections/binary_heap.rs
index b01a09a2fe3..43c6e6e8120 100644
--- a/src/libcollections/binary_heap.rs
+++ b/src/libcollections/binary_heap.rs
@@ -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>,
 }