tustvold commented on code in PR #6930:
URL: https://github.com/apache/arrow-rs/pull/6930#discussion_r1903037478
##########
arrow-buffer/src/buffer/immutable.rs:
##########
@@ -79,6 +79,21 @@ impl Buffer {
}
}
+ /// Auxiliary method to create a new Buffer
+ ///
+ /// This is convenient for converting a [`bytes::Bytes`] to a [`Buffer`]
without copying.
Review Comment:
Can this instead be a From implementation?
--
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]