From 1fb85ec11513b38eaf6277bb7fcb6de1721e1f1d Mon Sep 17 00:00:00 2001 From: Frank Murphy Date: Fri, 21 Oct 2022 12:10:32 -0400 Subject: [PATCH] Make crate-private Co-authored-by: Jorge Leitao --- src/array/list/mutable.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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>, {