From 47f6eb8a4feca555b20f7b29726ee480431e3a7f Mon Sep 17 00:00:00 2001 From: Nicholas Gates Date: Sat, 6 Apr 2024 21:59:38 +0100 Subject: [PATCH] Validity --- vortex-array2/src/array/bool/mod.rs | 1 + vortex-array2/src/array/ree/mod.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/vortex-array2/src/array/bool/mod.rs b/vortex-array2/src/array/bool/mod.rs index b8ee9e8e22..b924384fb7 100644 --- a/vortex-array2/src/array/bool/mod.rs +++ b/vortex-array2/src/array/bool/mod.rs @@ -20,6 +20,7 @@ pub struct BoolMetadata { length: usize, } +#[allow(clippy::len_without_is_empty)] impl BoolMetadata { pub fn validity(&self) -> &ValidityMetadata { &self.validity diff --git a/vortex-array2/src/array/ree/mod.rs b/vortex-array2/src/array/ree/mod.rs index 13c527c107..57ffe1b262 100644 --- a/vortex-array2/src/array/ree/mod.rs +++ b/vortex-array2/src/array/ree/mod.rs @@ -18,6 +18,7 @@ pub struct REEMetadata { ends_dtype: DType, } +#[allow(clippy::len_without_is_empty)] impl REEMetadata { pub fn len(&self) -> usize { self.length