From dc6d726e6162f757b1f13a2bf9918430dc925653 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sat, 3 Dec 2022 15:40:36 +0100 Subject: [PATCH] added missing doc_cfg feature for doc_cfg attr --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) 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))]