about summary refs log tree commit diff
path: root/src/libcore/future
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-06 12:54:33 -0700
committerManish Goregaokar <manishsmail@gmail.com>2020-07-16 09:58:34 -0700
commit3cecd6003b3eb15168421084a27223596517899c (patch)
tree0038eaa8e3cd9a19a03de9a8356c5aeb137da764 /src/libcore/future
parent98450757e5fa18ee0be9213d2830c9363b0f5fd3 (diff)
downloadrust-3cecd6003b3eb15168421084a27223596517899c.tar.gz
rust-3cecd6003b3eb15168421084a27223596517899c.zip
Revert "Remove spotlight usage"
This reverts commit 13c6d5819aae3c0de6a90e7f17ea967bf4487cbb.
Diffstat (limited to 'src/libcore/future')
-rw-r--r--src/libcore/future/future.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/future/future.rs b/src/libcore/future/future.rs
index abf461338d8..733ebdc0e97 100644
--- a/src/libcore/future/future.rs
+++ b/src/libcore/future/future.rs
@@ -24,6 +24,7 @@ use crate::task::{Context, Poll};
 /// `.await` the value.
 ///
 /// [`Waker`]: ../task/struct.Waker.html
+#[doc(spotlight)]
 #[must_use = "futures do nothing unless you `.await` or poll them"]
 #[stable(feature = "futures_api", since = "1.36.0")]
 #[lang = "future_trait"]