]> git.proxmox.com Git - rustc.git/blobdiff - library/core/src/future/future.rs
New upstream version 1.54.0+dfsg1
[rustc.git] / library / core / src / future / future.rs
index cc4cf54a2f764b6ae9a7a52256365ffdc776aad0..15952c6806fa4e75decd6db6a538031b9252ded1 100644 (file)
@@ -24,8 +24,7 @@ use crate::task::{Context, Poll};
 /// `.await` the value.
 ///
 /// [`Waker`]: crate::task::Waker
-#[cfg_attr(bootstrap, doc(spotlight))]
-#[cfg_attr(not(bootstrap), doc(notable_trait))]
+#[doc(notable_trait)]
 #[must_use = "futures do nothing unless you `.await` or poll them"]
 #[stable(feature = "futures_api", since = "1.36.0")]
 #[lang = "future_trait"]