Skip to content

Commit f4dcb6c

Browse files
committed
Correct doc comment
1 parent 641eac2 commit f4dcb6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arrow-select/src/merge.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ use arrow_data::ArrayData;
2424
use arrow_data::transform::MutableArrayData;
2525
use arrow_schema::ArrowError;
2626

27-
/// An index for the [merge] function.
27+
/// An index for the [merge_n] function.
2828
///
29-
/// This trait allows the indices argument for [merge] to be stored using a more
29+
/// This trait allows the indices argument for [merge_n] to be stored using a more
3030
/// compact representation than `usize` when the input arrays are small.
3131
/// If the number of input arrays is less than 256 for instance, the indices can be stored as `u8`.
3232
///
@@ -80,7 +80,7 @@ impl MergeIndex for Option<usize> {
8080
/// Long spans of null values are also especially cheap because they do not need to be represented
8181
/// in an input array.
8282
///
83-
/// # Safety
83+
/// # Panics
8484
///
8585
/// This function does not check that the number of occurrences of any particular array index matches
8686
/// the length of the corresponding input array. If an array contains more values than required, the

0 commit comments

Comments
 (0)