From 0453ebc5fdf118d639e318a81a3a1135cc96c17e Mon Sep 17 00:00:00 2001 From: jonahgao Date: Wed, 23 Oct 2024 10:14:00 +0800 Subject: [PATCH] minor: simplify associated item bound of `hash_array_primitive` --- datafusion/common/src/hash_utils.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/datafusion/common/src/hash_utils.rs b/datafusion/common/src/hash_utils.rs index 72cfeafd0bfe..8bd646626e06 100644 --- a/datafusion/common/src/hash_utils.rs +++ b/datafusion/common/src/hash_utils.rs @@ -102,8 +102,7 @@ fn hash_array_primitive( hashes_buffer: &mut [u64], rehash: bool, ) where - T: ArrowPrimitiveType, - ::Native: HashValue, + T: ArrowPrimitiveType, { assert_eq!( hashes_buffer.len(),