Skip to content

Commit

Permalink
tweak wording
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Dec 18, 2024
1 parent abfe5c2 commit 5ffa2ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow-buffer/src/buffer/scalar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl<T: ArrowNativeType> ScalarBuffer<T> {
}
}

/// The length of the scalar buffer, in number of elements.
/// The length of the scalar buffer, in units of `T`.
#[inline]
pub fn len_in_elements(&self) -> usize {
self.buffer.len() / std::mem::size_of::<T>()
Expand Down

0 comments on commit 5ffa2ac

Please sign in to comment.