From 5ffa2acf52af9f1aa68611e35cf8237bd66597f1 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Wed, 18 Dec 2024 16:31:57 +0100 Subject: [PATCH] tweak wording --- arrow-buffer/src/buffer/scalar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arrow-buffer/src/buffer/scalar.rs b/arrow-buffer/src/buffer/scalar.rs index 3401affea91..fed3fbf2226 100644 --- a/arrow-buffer/src/buffer/scalar.rs +++ b/arrow-buffer/src/buffer/scalar.rs @@ -93,7 +93,7 @@ impl ScalarBuffer { } } - /// 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::()