From 05afa68f7d98ae1e28358428cb077ce9c18d034e Mon Sep 17 00:00:00 2001 From: Andrew Paseltiner Date: Sun, 17 Apr 2016 09:28:30 -0400 Subject: [PATCH] Implement `Clone` for `binary_heap::IntoIter` --- src/libcollections/binary_heap.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcollections/binary_heap.rs b/src/libcollections/binary_heap.rs index b01a09a2fe3a5..43c6e6e81209d 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 { iter: vec::IntoIter, }