Skip to content

Commit a7bd5cb

Browse files
committed
Format compile error feature cfg in a clearer way
1 parent 93f2327 commit a7bd5cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
#[cfg(feature = "std")]
116116
extern crate std;
117117

118-
#[cfg(all(not(feature = "std"), not(feature = "libm")))]
118+
#[cfg(not(any(feature = "std", feature = "libm")))]
119119
compile_error!("at least one of the `std` or `libm` features must be enabled");
120120

121121
mod dw0c;

0 commit comments

Comments
 (0)