Fix build.

This commit is contained in:
Stephen Chung 2022-01-06 23:29:11 +08:00
parent c75d51ae88
commit 33bfff3722

View File

@ -98,6 +98,7 @@ pub mod array_functions {
let check_sizes = match item.0 {
crate::types::dynamic::Union::Array(_, _, _)
| crate::types::dynamic::Union::Str(_, _, _) => true,
#[cfg(not(feature = "no_object"))]
crate::types::dynamic::Union::Map(_, _, _) => true,
_ => false,
};