diff --git a/arrow/src/buffer/immutable.rs b/arrow/src/buffer/immutable.rs index 5ba2548190d..bd09702bf3f 100644 --- a/arrow/src/buffer/immutable.rs +++ b/arrow/src/buffer/immutable.rs @@ -164,10 +164,6 @@ impl Buffer { /// `ArrowNativeType` is public so that it can be used as a trait bound for other public /// components, such as the `ToByteSlice` trait. However, this means that it can be /// implemented by user defined types, which it is not intended for. - /// - /// Also `typed_data::` is unsafe as `0x00` and `0x01` are the only valid values for - /// `bool` in Rust. However, `bool` arrays in Arrow are bit-packed which breaks this condition. - /// View buffer as typed slice. pub unsafe fn typed_data(&self) -> &[T] { // JUSTIFICATION // Benefit