From a03b0526ce7f20fd46cf9cd585ee1d585f4d9243 Mon Sep 17 00:00:00 2001 From: "Jorge C. Leitao" Date: Fri, 27 May 2022 17:58:24 +0000 Subject: [PATCH] More docs --- src/array/utf8/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/array/utf8/mod.rs b/src/array/utf8/mod.rs index f76b1bce4e8..c216ae0ab59 100644 --- a/src/array/utf8/mod.rs +++ b/src/array/utf8/mod.rs @@ -134,7 +134,7 @@ impl Utf8Array { /// Returns the value of the element at index `i`, ignoring the array's validity. /// # Panic - /// This function panics iff `i < self.len`. + /// This function panics iff `i >= self.len`. #[inline] pub fn value(&self, i: usize) -> &str { assert!(i < self.len());