tustvold commented on code in PR #4197: URL: https://github.com/apache/arrow-rs/pull/4197#discussion_r1190884908
########## arrow-buffer/src/buffer/scalar.rs: ########## @@ -22,12 +22,24 @@ use std::fmt::Formatter; use std::marker::PhantomData; use std::ops::Deref; -/// Provides a safe API for interpreting a [`Buffer`] as a slice of [`ArrowNativeType`] +/// A strongly-typed [`Buffer`] supporting zero-copy cloning and slicing /// -/// # Safety +/// The easiest way to think about `ScalarBuffer<T>` is being equivalent to a `Arc<Vec<T>>`, Review Comment: I may have copied it from somewhere :innocent: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
