mirror of
https://github.com/servo/servo.git
synced 2025-09-23 21:30:09 +01:00
fix build error after merge from main
Signed-off-by: Ville Lindholm <ville@lindholm.dev>
This commit is contained in:
parent
e31e448fda
commit
fb971b217c
1 changed files with 4 additions and 4 deletions
|
@ -461,10 +461,10 @@ impl Evaluatable for StepExpr {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn is_primitive(&self) -> bool {
|
fn is_primitive(&self) -> bool {
|
||||||
self.predicates
|
match self {
|
||||||
.predicates
|
StepExpr::Filter(filter_expr) => filter_expr.is_primitive(),
|
||||||
.is_empty() &&
|
StepExpr::Axis(_) => false,
|
||||||
self.primary.is_primitive()
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue