This is an automated email from the ASF dual-hosted git repository.
mneumann pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/main by this push:
new aac69b583e Clarify Docs: NullBuffer::len is in bits (#7556)
aac69b583e is described below
commit aac69b583e98ccca39e2d49d48753edad9157ac9
Author: Andrew Lamb <[email protected]>
AuthorDate: Wed May 28 07:49:27 2025 -0400
Clarify Docs: NullBuffer::len is in bits (#7556)
---
arrow-buffer/src/buffer/null.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arrow-buffer/src/buffer/null.rs b/arrow-buffer/src/buffer/null.rs
index a178b3101b..e5e3a610ea 100644
--- a/arrow-buffer/src/buffer/null.rs
+++ b/arrow-buffer/src/buffer/null.rs
@@ -116,7 +116,7 @@ impl NullBuffer {
}
}
- /// Returns the length of this [`NullBuffer`]
+ /// Returns the length of this [`NullBuffer`] in bits
#[inline]
pub fn len(&self) -> usize {
self.buffer.len()