auto merge of #17266 : Gankro/rust/vec-move, r=alexcrichton
Seems to correctly report exact size, so it should claim to do so formally.
This commit is contained in:
commit
828e075abd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user