From 5a78cfa60e9c84a56763bb974fbb41724d016da0 Mon Sep 17 00:00:00 2001 From: remzi <13716567376yh@gmail.com> Date: Tue, 28 Jun 2022 19:50:57 +0800 Subject: [PATCH] fix the doc of value_length Signed-off-by: remzi <13716567376yh@gmail.com> --- arrow/src/array/array_list.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arrow/src/array/array_list.rs b/arrow/src/array/array_list.rs index 709e4e7ba7d..36ad3071582 100644 --- a/arrow/src/array/array_list.rs +++ b/arrow/src/array/array_list.rs @@ -381,9 +381,9 @@ impl FixedSizeListArray { self.value_offset_at(self.data.offset() + i) } - /// Returns the length for value at index `i`. + /// Returns the length for an element. /// - /// Note this doesn't do any bound checking, for performance reason. + /// All elements have the same length as the array is a fixed size. #[inline] pub const fn value_length(&self) -> i32 { self.length