Skip to content

Commit

Permalink
Remove a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrobbel committed Dec 11, 2023
1 parent 094f3a0 commit d9c076f
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions src/arrow/buffer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,3 @@ pub mod buffer_builder;
pub mod null_buffer;
pub mod offset_buffer;
pub mod scalar_buffer;

// /// A [`BufferType`] implementation for &'a arrow Buffer.
// ///
// /// Stores items `T` in an arrow `&Buffer`.
// #[derive(Clone, Copy, Debug)]
// pub struct ArrowRefBuffer<'a>(PhantomData<&'a ()>);

// impl<'a> BufferType for ArrowRefBuffer<'a> {
// type Buffer<T: FixedSize> = &'a [T];
// }

// impl<T: FixedSize> Buffer<T> for &arrow_buffer::Buffer {
// fn as_slice(&self) -> &[T] {
// self.typed_data()
// }
// }

// impl Length for &arrow_buffer::Buffer {
// fn len(&self) -> usize {
// arrow_buffer::Buffer::len(self)
// }
// }

// impl Index for &arrow_buffer::Buffer {
// type Item<'a> = &'a u8
// where
// Self: 'a;

// unsafe fn index_unchecked(&self, index: usize) -> Self::Item<'_> {
// self.get_unchecked(index)
// }
// }

0 comments on commit d9c076f

Please sign in to comment.