diff options
| author | Stjepan Glavina <stjepang@gmail.com> | 2019-02-20 21:59:13 +0100 |
|---|---|---|
| committer | Stjepan Glavina <stjepang@gmail.com> | 2019-02-20 22:06:30 +0100 |
| commit | 102436d16a5e3d46fbd05afc7607e1a4b0209c8f (patch) | |
| tree | 03c04ce41ce4d2b1cc9f6517d506fec4b568e272 | |
| parent | f66e4697ae286985ddefc53c3a047614568458bb (diff) | |
| download | rust-102436d16a5e3d46fbd05afc7607e1a4b0209c8f.tar.gz rust-102436d16a5e3d46fbd05afc7607e1a4b0209c8f.zip | |
Put Future trait into spotlight
| -rw-r--r-- | src/libcore/future/future.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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. |
