mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +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 {
|
||||
match self {
|
||||
Some(expr) => expr.is_primitive(),
|
||||
None => false,
|
||||
}
|
||||
self.as_ref().is_some_and(|t| T::is_primitive(t))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue