diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-06 12:54:33 -0700 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-16 09:58:34 -0700 |
| commit | 3cecd6003b3eb15168421084a27223596517899c (patch) | |
| tree | 0038eaa8e3cd9a19a03de9a8356c5aeb137da764 /src/libcore/future | |
| parent | 98450757e5fa18ee0be9213d2830c9363b0f5fd3 (diff) | |
| download | rust-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.rs | 1 |
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"] |
