This is an automated email from the ASF dual-hosted git repository.

yangjiang 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 9a6c516f6 [minor] fix doc test fail (#3732)
9a6c516f6 is described below

commit 9a6c516f6e5c5411489a65af2e53dba041a26025
Author: Yang Jiang <[email protected]>
AuthorDate: Fri Feb 17 17:34:39 2023 +0800

    [minor] fix doc test fail (#3732)
---
 arrow-array/src/array/fixed_size_binary_array.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arrow-array/src/array/fixed_size_binary_array.rs 
b/arrow-array/src/array/fixed_size_binary_array.rs
index 9debea08d..936fb3025 100644
--- a/arrow-array/src/array/fixed_size_binary_array.rs
+++ b/arrow-array/src/array/fixed_size_binary_array.rs
@@ -42,7 +42,7 @@ use std::any::Any;
 /// ```
 ///    use arrow_array::{Array, FixedSizeBinaryArray};
 ///    let input_arg = vec![ None, Some(vec![7, 8]), Some(vec![9, 10]), None, 
Some(vec![13, 14]) ];
-///    let arr = 
FixedSizeBinaryArray::try_from_sparse_iter(input_arg.into_iter()).unwrap();
+///    let arr = 
FixedSizeBinaryArray::try_from_sparse_iter_with_size(input_arg.into_iter(), 
2).unwrap();
 ///    assert_eq!(5, arr.len())
 ///
 /// ```

Reply via email to