From 15ff2faa7dd99a9b5df811725038ddfe0542d0f5 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Wed, 25 Jan 2023 19:50:40 -0800 Subject: [PATCH] panic-itm: update crate config so docs aren't empty --- panic-itm/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panic-itm/src/lib.rs b/panic-itm/src/lib.rs index 8a2c2489..5d969b00 100644 --- a/panic-itm/src/lib.rs +++ b/panic-itm/src/lib.rs @@ -28,7 +28,7 @@ //! panicked at 'FOO', src/main.rs:6:5 //! ``` -#![cfg(all(target_arch = "arm", target_os = "none"))] +#![cfg(any(all(target_arch = "arm", target_os = "none"), doc))] #![deny(missing_docs)] #![deny(warnings)] #![no_std]