diff --git a/src/array/primitive/mod.rs b/src/array/primitive/mod.rs index 74604ed7e8b..85e04de20d8 100644 --- a/src/array/primitive/mod.rs +++ b/src/array/primitive/mod.rs @@ -286,7 +286,7 @@ impl PrimitiveArray { /// This is an API to leverage clone-on-write /// # Panics /// This function panics if the function `f` modifies the length of the [`Bitmap`]. - pub fn apply_validity Bitmap>(&mut self, f: F) { + pub fn apply_validity Bitmap>(&mut self, f: F) { if let Some(validity) = std::mem::take(&mut self.validity) { self.set_validity(Some(f(validity))) }