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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue