From c5c09f0b311f054a3f604664ac3539db70f40351 Mon Sep 17 00:00:00 2001 From: Matthijs Brobbel Date: Mon, 7 Aug 2023 14:59:00 +0200 Subject: [PATCH] Fix warning --- src/fixed_size.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fixed_size.rs b/src/fixed_size.rs index d8d800cc..015f123e 100644 --- a/src/fixed_size.rs +++ b/src/fixed_size.rs @@ -21,7 +21,7 @@ pub trait FixedSize: arrow_buffer::ArrowNativeType + ArrayType + Copy + Debug + Sized + sealed::Sealed + 'static { /// The fixed-size of this type in bytes. - const SIZE: usize = std::mem::size_of::(); + const SIZE: usize = mem::size_of::(); } impl FixedSize for i8 {}