From 102436d16a5e3d46fbd05afc7607e1a4b0209c8f Mon Sep 17 00:00:00 2001 From: Stjepan Glavina Date: Wed, 20 Feb 2019 21:59:13 +0100 Subject: [PATCH] Put Future trait into spotlight --- src/libcore/future/future.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcore/future/future.rs b/src/libcore/future/future.rs index 84e7147153e9e..a143b54a61f54 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.