diff --git a/src/lib.rs b/src/lib.rs index e374313..ea4d6b8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -132,7 +132,9 @@ //! //! [macro_rules_attribute]: https://docs.rs/macro_rules_attribute/ -use std::fmt; +#![no_std] + +use core::fmt; /// Placeholder values when a [cfg](attr@cfg)-disabled parameter is used in [`log`]. #[doc(hidden)]