We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96e4a00 commit a00f9f4Copy full SHA for a00f9f4
arrow-data/src/ffi.rs
@@ -289,7 +289,7 @@ impl FFI_ArrowArray {
289
/// Returns the buffer at the provided index
290
///
291
/// # Panic
292
- /// Panics if index exceeds the number of buffers or the buffer is not correctly aligned
+ /// Panics if index >= self.num_buffers() or the buffer is not correctly aligned
293
#[inline]
294
pub fn buffer(&self, index: usize) -> *const u8 {
295
assert!(!self.buffers.is_null());
0 commit comments