From 102436d16a5e3d46fbd05afc7607e1a4b0209c8f Mon Sep 17 00:00:00 2001 From: Stjepan Glavina Date: Wed, 20 Feb 2019 21:59:13 +0100 Subject: Put Future trait into spotlight --- src/libcore/future/future.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libcore') diff --git a/src/libcore/future/future.rs b/src/libcore/future/future.rs index 84e7147153e..a143b54a61f 100644 --- a/src/libcore/future/future.rs +++ b/src/libcore/future/future.rs @@ -24,6 +24,7 @@ use task::{Poll, Waker}; /// /// When using a future, you generally won't call `poll` directly, but instead /// `await!` the value. +#[doc(spotlight)] #[must_use = "futures do nothing unless polled"] pub trait Future { /// The type of value produced on completion. -- cgit 1.4.1-3-g733a5