De Morgan the features check

This commit is contained in:
David Tolnay 2020-01-21 23:26:12 -08:00
parent d57dffb3e8
commit 541d8a1de7
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -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;
}