Skip to content

Commit 30aa976

Browse files
committed
clean up docs a little
1 parent b561083 commit 30aa976

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

arrow-data/src/transform/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -724,10 +724,6 @@ impl<'a> MutableArrayData<'a> {
724724
/// Extends the in progress array with a region of the input arrays, returning an error on
725725
/// overflow.
726726
///
727-
/// Prefer this over [`extend`](Self::extend) to handle cases where the data exceeds the
728-
/// capacity of the offset type (e.g. more than 2 GiB in a `StringArray`). The error message
729-
/// will indicate which array type overflowed and suggest a larger type.
730-
///
731727
/// # Arguments
732728
/// * `index` - the index of array that you want to copy values from
733729
/// * `start` - the start index of the chunk (inclusive)

arrow-data/src/transform/utils.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ pub(super) fn resize_for_bits(buffer: &mut MutableBuffer, len: usize) {
3030
}
3131

3232
/// Extends `buffer` with the re-based offsets from `offsets`, returning an error on overflow.
33-
///
34-
/// Use this instead of [`extend_offsets`] to get a proper error when data exceeds the
35-
/// capacity of the offset type (e.g. when appending more than 2 GiB into a `StringArray`).
3633
pub(super) fn try_extend_offsets<T: ArrowNativeType + Integer + CheckedAdd>(
3734
buffer: &mut MutableBuffer,
3835
mut last_offset: T,

0 commit comments

Comments
 (0)