mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
fixup! Update arrayvec.
This commit is contained in:
parent
9eaa27c946
commit
b3742b779c
2 changed files with 6 additions and 3 deletions
|
@ -2534,7 +2534,8 @@ impl PropertyDeclaration {
|
|||
}
|
||||
}
|
||||
|
||||
type SubpropertiesVec<T> = ArrayVec<T, ${max(len(s.sub_properties) for s in data.shorthands_except_all()) \
|
||||
type SubpropertiesVec<T> = ArrayVec<T, ${max(len(s.sub_properties) \
|
||||
for s in data.shorthands_except_all()) \
|
||||
if data.shorthands_except_all() else 0}>;
|
||||
|
||||
/// A stack-allocated vector of `PropertyDeclaration`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue