Skip to content

Commit a00f9f4

Browse files
Modify_inconsistency (#7190)
1 parent 96e4a00 commit a00f9f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrow-data/src/ffi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ impl FFI_ArrowArray {
289289
/// Returns the buffer at the provided index
290290
///
291291
/// # Panic
292-
/// Panics if index exceeds the number of buffers or the buffer is not correctly aligned
292+
/// Panics if index >= self.num_buffers() or the buffer is not correctly aligned
293293
#[inline]
294294
pub fn buffer(&self, index: usize) -> *const u8 {
295295
assert!(!self.buffers.is_null());

0 commit comments

Comments
 (0)