style: Update smallvec to 1.0.

Differential Revision: https://phabricator.services.mozilla.com/D56044
This commit is contained in:
Emilio Cobos Álvarez 2019-12-15 21:22:24 +01:00
parent 789ddd9dc1
commit ad61cae6b0
12 changed files with 21 additions and 21 deletions

View file

@ -180,7 +180,7 @@ fn top_down_dom<'a, 'scope, E, D>(
let mut traversal_data_copy = traversal_data.clone();
traversal_data_copy.current_dom_depth += 1;
traverse_nodes(
discovered_child_nodes.drain(),
discovered_child_nodes.drain(..),
DispatchMode::NotTailCall,
recursion_ok,
root,
@ -210,7 +210,7 @@ fn top_down_dom<'a, 'scope, E, D>(
if !discovered_child_nodes.is_empty() {
traversal_data.current_dom_depth += 1;
traverse_nodes(
discovered_child_nodes.drain(),
discovered_child_nodes.drain(..),
DispatchMode::TailCall,
recursion_ok,
root,