diff --git a/src/task/mod.rs b/src/task/mod.rs index 56c0113..32b1884 100644 --- a/src/task/mod.rs +++ b/src/task/mod.rs @@ -24,6 +24,8 @@ #[doc(inline)] pub use std::task::{Context, Poll, Waker}; +#[cfg(feature = "unstable")] +#[cfg_attr(feature = "docs", doc(cfg(unstable)))] #[doc(inline)] pub use async_macros::ready;