mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Don't use SmallVec::into_iter to move into another vector.
See bug 1374848 for why.
This commit is contained in:
parent
ce9cd802de
commit
1572bd0948
2 changed files with 11 additions and 8 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue