diff --git a/crates/store/re_types_core/src/arrow_buffer.rs b/crates/store/re_types_core/src/arrow_buffer.rs index b35aaad9afde..f78831bccdb9 100644 --- a/crates/store/re_types_core/src/arrow_buffer.rs +++ b/crates/store/re_types_core/src/arrow_buffer.rs @@ -9,7 +9,7 @@ use arrow2::buffer::Buffer; /// arise from returning a `&[T]` directly, but is significantly more /// performant than doing the full allocation necessary to return a `Vec`. #[derive(Clone, Debug, Default, PartialEq)] -pub struct ArrowBuffer(pub Buffer); +pub struct ArrowBuffer(Buffer); impl crate::SizeBytes for ArrowBuffer { #[inline] @@ -50,11 +50,6 @@ impl ArrowBuffer { self.0.as_slice() } - #[inline] - pub fn into_inner(self) -> Buffer { - self.0 - } - /// Returns a new [`Buffer`] that is a slice of this buffer starting at `offset`. /// /// Doing so allows the same memory region to be shared between buffers.