fixup! Update arrayvec.

This commit is contained in:
Josh Matthews 2022-04-01 01:44:27 -04:00
parent 9eaa27c946
commit b3742b779c
2 changed files with 6 additions and 3 deletions

View file

@ -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`