diff --git a/src/types/interner.rs b/src/types/interner.rs index 7f7cf1b3..2af5363d 100644 --- a/src/types/interner.rs +++ b/src/types/interner.rs @@ -1,5 +1,8 @@ use crate::func::{hashing::get_hasher, StraightHashMap}; use crate::ImmutableString; +#[cfg(feature = "no_std")] +use hashbrown::hash_map::Entry; +#[cfg(not(feature = "no_std"))] use std::collections::hash_map::Entry; #[cfg(feature = "no_std")] use std::prelude::v1::*;