This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new 4ab97f9cf3 Minor: Add some missing documentation to fix CI errors
(#6445)
4ab97f9cf3 is described below
commit 4ab97f9cf38940fe2b8986c59c091df15b3af739
Author: Ed Seidl <[email protected]>
AuthorDate: Tue Sep 24 05:48:21 2024 -0700
Minor: Add some missing documentation to fix CI errors (#6445)
* fix CI errors
* apply suggestion from review
Co-authored-by: ngli-me <[email protected]>
---------
Co-authored-by: ngli-me <[email protected]>
---
arrow-string/src/like.rs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arrow-string/src/like.rs b/arrow-string/src/like.rs
index 6d82682d72..5c76d5c810 100644
--- a/arrow-string/src/like.rs
+++ b/arrow-string/src/like.rs
@@ -158,7 +158,9 @@ fn like_op(op: Op, lhs: &dyn Datum, rhs: &dyn Datum) ->
Result<BooleanArray, Arr
/// This trait helps to abstract over the different types of string arrays
/// so that we don't need to duplicate the implementation for each type.
pub trait StringArrayType<'a>: ArrayAccessor<Item = &'a str> + Sized {
+ /// Returns true if all data within this string array is ASCII
fn is_ascii(&self) -> bool;
+ /// Constructs a new iterator
fn iter(&self) -> ArrayIter<Self>;
}