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


##########
arrow-data/src/ffi.rs:
##########
@@ -277,7 +277,9 @@ impl FFI_ArrowArray {
         usize::try_from(self.null_count).ok()
     }
 
-    /// set the null count of the array
+    /// # Safety
+    ///
+    /// Set the null count of the array

Review Comment:
   ```suggestion
       /// Set the null count of the array
       ///
       /// # Safety
       /// Null count must match that of null buffer
   ```



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to