From c170c3d36f121593c032f5d5bcb431d1de8ea716 Mon Sep 17 00:00:00 2001 From: Matthijs Brobbel Date: Wed, 10 Nov 2021 20:46:31 +0100 Subject: [PATCH] Fix ArrayType impl for Rust array types --- src/array/fixed_size_list.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/array/fixed_size_list.rs b/src/array/fixed_size_list.rs index 63f1fe81..65667b1f 100644 --- a/src/array/fixed_size_list.rs +++ b/src/array/fixed_size_list.rs @@ -43,16 +43,16 @@ where impl ArrayType for [T; N] where - T: Array, + T: ArrayType, { - type Array = FixedSizeListArray; + type Array = FixedSizeListArray<::Array, N, false>; } impl ArrayType for Option<[T; N]> where - T: Array, + T: ArrayType, { - type Array = FixedSizeListArray; + type Array = FixedSizeListArray<::Array, N, true>; } impl FromIterator<[U; N]> for FixedSizeListArray