From 541d8a1de7b1d211a424a3b6e03eeb5d936c758e Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 21 Jan 2020 23:26:12 -0800 Subject: [PATCH] De Morgan the features check --- src/features_check/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }