Skip to content

Commit

Permalink
Remove out of date comment (#1008)
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Dec 9, 2021
1 parent a92672e commit 07d328d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arrow/src/buffer/immutable.rs
Expand Up @@ -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::<bool>` 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<T: ArrowNativeType + num::Num>(&self) -> &[T] {
// JUSTIFICATION
// Benefit
Expand Down

0 comments on commit 07d328d

Please sign in to comment.