aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 09bbcfb..bb318a0 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -66,7 +66,7 @@
#![no_std]
// We need to link to std to make doc tests work on older Rust versions
-#![cfg(feature = "std")]
+#[cfg(feature = "std")]
extern crate std;
#[macro_use]
extern crate alloc;