diff --git a/src/mpsc.rs b/src/mpsc.rs index a49d468..0180d8d 100644 --- a/src/mpsc.rs +++ b/src/mpsc.rs @@ -179,7 +179,8 @@ //! //! A statically allocated channel may be used without heap allocation: //! -//! ``` +#![cfg_attr(feature = "static", doc = "```")] +#![cfg_attr(not(feature = "static"), doc = "```ignore")] //! // We are in a `no_std` context with no memory allocator! //! #![no_std] //! use thingbuf::mpsc;