From 301a506ebe3b6c014de01ff84873be71754bd012 Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Tue, 15 Oct 2019 15:48:13 +0200 Subject: [PATCH] mark as unstable Signed-off-by: Yoshua Wuyts --- src/future/into_future.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/future/into_future.rs b/src/future/into_future.rs index aa23b5d7f..58b676615 100644 --- a/src/future/into_future.rs +++ b/src/future/into_future.rs @@ -30,6 +30,8 @@ use crate::future::Future; /// } /// } /// ``` +#[cfg(any(feature = "unstable", feature = "docs"))] +#[cfg_attr(feature = "docs", doc(cfg(unstable)))] pub trait IntoFuture { /// The type of value produced on completion. type Output;