style: Fix tidy issues.

This commit is contained in:
Emilio Cobos Álvarez 2018-12-15 03:50:09 +01:00
parent 28719f2455
commit 273705d7fb
6 changed files with 17 additions and 32 deletions

View file

@ -521,12 +521,8 @@ where
Combinator::PseudoElement => SelectorMatchingResult::NotMatchedGlobally,
};
let mut next_element = next_element_for_combinator(
element,
combinator,
&selector_iter,
&context,
);
let mut next_element =
next_element_for_combinator(element, combinator, &selector_iter, &context);
// Stop matching :visited as soon as we find a link, or a combinator for
// something that isn't an ancestor.
@ -590,12 +586,7 @@ where
visited_handling = VisitedHandlingMode::AllLinksUnvisited;
}
next_element = next_element_for_combinator(
&element,
combinator,
&selector_iter,
&context,
);
next_element = next_element_for_combinator(&element, combinator, &selector_iter, &context);
}
}