Fix typo.
This commit is contained in:
@@ -3,7 +3,6 @@
|
|||||||
use super::BloomFilterU64;
|
use super::BloomFilterU64;
|
||||||
use crate::func::{hashing::get_hasher, StraightHashMap};
|
use crate::func::{hashing::get_hasher, StraightHashMap};
|
||||||
use crate::ImmutableString;
|
use crate::ImmutableString;
|
||||||
use ahash::HashMapExt;
|
|
||||||
#[cfg(feature = "no_std")]
|
#[cfg(feature = "no_std")]
|
||||||
use hashbrown::hash_map::Entry;
|
use hashbrown::hash_map::Entry;
|
||||||
#[cfg(not(feature = "no_std"))]
|
#[cfg(not(feature = "no_std"))]
|
||||||
@@ -53,7 +52,7 @@ impl StringsInterner {
|
|||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
Self {
|
Self {
|
||||||
cache: StraightHashMap::new(),
|
cache: StraightHashMap::default(),
|
||||||
bloom_filter: BloomFilterU64::new(),
|
bloom_filter: BloomFilterU64::new(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user