Skip to content

Commit

Permalink
auto merge of rust-lang#17266 : Gankro/rust/vec-move, r=alexcrichton
Browse files Browse the repository at this point in the history
Seems to correctly report exact size, so it should claim to do so formally.
  • Loading branch information
bors committed Sep 16, 2014
2 parents 946654a + 975569b commit 828e075
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libcollections/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1660,6 +1660,8 @@ impl<T> DoubleEndedIterator<T> for MoveItems<T> {
}
}

impl<T> ExactSize<T> for MoveItems<T> {}

#[unsafe_destructor]
impl<T> Drop for MoveItems<T> {
fn drop(&mut self) {
Expand Down

0 comments on commit 828e075

Please sign in to comment.