From 6c06481457ac9e61412b540c2e54c0c42d0720bc Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Thu, 24 Nov 2022 17:16:12 +0800 Subject: [PATCH] Fix typo. --- src/types/interner.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/types/interner.rs b/src/types/interner.rs index b4abee4c..430605e8 100644 --- a/src/types/interner.rs +++ b/src/types/interner.rs @@ -3,7 +3,6 @@ use super::BloomFilterU64; use crate::func::{hashing::get_hasher, StraightHashMap}; use crate::ImmutableString; -use ahash::HashMapExt; #[cfg(feature = "no_std")] use hashbrown::hash_map::Entry; #[cfg(not(feature = "no_std"))] @@ -53,7 +52,7 @@ impl StringsInterner { #[inline(always)] pub fn new() -> Self { Self { - cache: StraightHashMap::new(), + cache: StraightHashMap::default(), bloom_filter: BloomFilterU64::new(), } }