mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Fix tidy issues.
This commit is contained in:
parent
28719f2455
commit
273705d7fb
6 changed files with 17 additions and 32 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue