mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Remove unused selector visitor argument.
This commit is contained in:
parent
2e775abfa4
commit
ffa9dd1c7c
3 changed files with 1 additions and 3 deletions
|
@ -272,7 +272,7 @@ impl<Impl: SelectorImpl> SelectorMethods for Selector<Impl> {
|
|||
let mut current = self.iter();
|
||||
let mut combinator = None;
|
||||
loop {
|
||||
if !visitor.visit_complex_selector(current.clone(), combinator) {
|
||||
if !visitor.visit_complex_selector(combinator) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue