mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
PR review 2
Signed-off-by: Ville Lindholm <ville@lindholm.dev>
This commit is contained in:
parent
bc72d7e536
commit
74557e352d
2 changed files with 2 additions and 5 deletions
|
@ -95,10 +95,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
fn is_primitive(&self) -> bool {
|
fn is_primitive(&self) -> bool {
|
||||||
match self {
|
self.as_ref().is_some_and(|t| T::is_primitive(t))
|
||||||
Some(expr) => expr.is_primitive(),
|
|
||||||
None => false,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue