From 07d328dc59e62b74984f04d3a7e3bfd7df4deaf8 Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Mon, 6 Dec 2021 15:39:52 -0500 Subject: [PATCH] Remove out of date comment (#1008) --- arrow/src/buffer/immutable.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arrow/src/buffer/immutable.rs b/arrow/src/buffer/immutable.rs index 5ba2548190db..bd09702bf3f9 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