diff --git a/src/features_check/mod.rs b/src/features_check/mod.rs index 5b27a12..d12032c 100644 --- a/src/features_check/mod.rs +++ b/src/features_check/mod.rs @@ -7,7 +7,7 @@ macro_rules! hide_from_rustfmt { }; } -#[cfg(all(not(feature = "std"), not(feature = "alloc")))] +#[cfg(not(any(feature = "std", feature = "alloc")))] hide_from_rustfmt! { mod error; }