diff --git a/src/lib.rs b/src/lib.rs index 296683c2..cf5ca331 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,7 +2,7 @@ //! //! This is a no_std crate, but still requires the alloc crate. -#![cfg_attr(all(not(test), not(feature = "std"), not(feature = "hashbrown")), no_std)] +#![cfg_attr(all(not(test), not(feature = "std"), feature = "hashbrown"), no_std)] #![allow(dead_code)] #![allow(clippy::style)] #![allow(clippy::complexity)]