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 authored Dec 6, 2021
1 parent 72c9d1e commit 239cba1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arrow/src/buffer/immutable.rs
Original file line number Diff line number Diff line change
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 239cba1

Please sign in to comment.