From ad39e4c0dea3c74b8363c69270a504a6e5708095 Mon Sep 17 00:00:00 2001 From: Daniel Scherzer Date: Mon, 25 May 2026 11:27:28 -0700 Subject: [PATCH] [Result migration] Update documentation of `StringArray::iter()` Missed in the initial updates, the iterated type is now `Result, Error>` rather than `Option<&str>`. --- src/string_array.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/string_array.rs b/src/string_array.rs index 8d68616cfc..d7080d2364 100644 --- a/src/string_array.rs +++ b/src/string_array.rs @@ -52,8 +52,8 @@ impl StringArray { /// Returns an iterator over the strings contained within this array. /// - /// The iterator yields `Option<&str>` as it is unknown whether the contents - /// are utf-8 or not. + /// The iterator yields `Result, Error>` as it is unknown + /// whether the contents are utf-8 or not. pub fn iter(&self) -> Iter<'_> { Iter { range: 0..self.len(),