Skip to content

Commit 828e075

Browse files
committed
auto merge of #17266 : Gankro/rust/vec-move, r=alexcrichton
Seems to correctly report exact size, so it should claim to do so formally.
2 parents 946654a + 975569b commit 828e075

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcollections/vec.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1660,6 +1660,8 @@ impl<T> DoubleEndedIterator<T> for MoveItems<T> {
16601660
}
16611661
}
16621662

1663+
impl<T> ExactSize<T> for MoveItems<T> {}
1664+
16631665
#[unsafe_destructor]
16641666
impl<T> Drop for MoveItems<T> {
16651667
fn drop(&mut self) {

0 commit comments

Comments
 (0)