Auto merge of #17443 - emilio:smallwat, r=SimonSapin

style: Don't use SmallVec::into_iter to move into another vector.

See bug 1374848 for why.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17443)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-06-22 00:14:38 -07:00 committed by GitHub
commit 6b99318f55
2 changed files with 11 additions and 8 deletions

View file

@ -492,7 +492,7 @@ impl<'a, 'b: 'a, E> TreeStyleInvalidator<'a, 'b, E>
}
}
sibling_invalidations.extend(new_sibling_invalidations.into_iter());
sibling_invalidations.extend(new_sibling_invalidations.drain());
invalidated_self
}