diff --git a/src/array/list/mutable.rs b/src/array/list/mutable.rs index 16a779b064b..b87c0761519 100644 --- a/src/array/list/mutable.rs +++ b/src/array/list/mutable.rs @@ -164,7 +164,7 @@ impl MutableListArray { /// - the new offsets are not in monotonic increasing order. /// - any new offset is not in bounds of the backing array. /// - the passed iterator has no upper bound. - pub fn extend_offsets(&mut self, expansion: II) + pub(crate) fn extend_offsets(&mut self, expansion: II) where II: TrustedLen>, { @@ -197,7 +197,7 @@ impl MutableListArray { /// zero if the array is currently empty. /// /// Panics if the passed iterator has no upper bound. - pub unsafe fn unsafe_extend_offsets(&mut self, expansion: II) + pub(crate) unsafe fn unsafe_extend_offsets(&mut self, expansion: II) where II: TrustedLen>, {