Skip to content

Commit

Permalink
impl ExactSize for vec::MoveItems
Browse files Browse the repository at this point in the history
  • Loading branch information
Gankra committed Sep 15, 2014
1 parent 21d1f4d commit 975569b
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 @@ -1662,6 +1662,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

5 comments on commit 975569b

@bors
Copy link
Contributor

@bors bors commented on 975569b Sep 16, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at Gankra@975569b

@bors
Copy link
Contributor

@bors bors commented on 975569b Sep 16, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging Gankro/rust/vec-move = 975569b into auto

@bors
Copy link
Contributor

@bors bors commented on 975569b Sep 16, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gankro/rust/vec-move = 975569b merged ok, testing candidate = 828e075

@bors
Copy link
Contributor

@bors bors commented on 975569b Sep 16, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 975569b Sep 16, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 828e075

Please sign in to comment.