tustvold commented on code in PR #6817:
URL: https://github.com/apache/arrow-rs/pull/6817#discussion_r1864902611


##########
arrow-buffer/src/buffer/mutable.rs:
##########
@@ -468,7 +468,7 @@ impl MutableBuffer {
 }
 
 #[inline]
-fn dangling_ptr() -> NonNull<u8> {
+pub(crate) fn dangling_ptr() -> NonNull<u8> {
     // SAFETY: ALIGNMENT is a non-zero usize which is then casted
     // to a *mut T. Therefore, `ptr` is not null and the conditions for

Review Comment:
   I think this is a copy-pasta from `NonNull::dangling`



-- 
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]

Reply via email to