From d0312a028cfd424ef3d65eb1f0563a58e32e71e4 Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Tue, 17 Sep 2019 23:32:38 +0200 Subject: [PATCH] mark task::ready as unstable Signed-off-by: Yoshua Wuyts --- src/task/mod.rs | 2 ++ 1 file changed, 2 insertions(+) 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;