diff options
| author | Andrew Paseltiner <apaseltiner@gmail.com> | 2016-04-17 09:28:30 -0400 |
|---|---|---|
| committer | Andrew Paseltiner <apaseltiner@gmail.com> | 2016-04-17 09:28:30 -0400 |
| commit | 05afa68f7d98ae1e28358428cb077ce9c18d034e (patch) | |
| tree | a92589a4b8cfc90ccc25624333fe28e4261d93ce | |
| parent | d8d71747fea8ade214cd2da9703d1823b6b314a8 (diff) | |
| download | rust-05afa68f7d98ae1e28358428cb077ce9c18d034e.tar.gz rust-05afa68f7d98ae1e28358428cb077ce9c18d034e.zip | |
Implement `Clone` for `binary_heap::IntoIter`
| -rw-r--r-- | src/libcollections/binary_heap.rs | 1 |
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>, } |
