diff --git a/src/lib.rs b/src/lib.rs index 73d95ab..f9b8840 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -42,6 +42,7 @@ //! println!("{:?}", sp_header); //! ``` #![no_std] +#![cfg_attr(doc_cfg, feature(doc_cfg))] #[cfg(feature = "alloc")] extern crate alloc; #[cfg(any(feature = "std", test))]