We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b24981a + 58c6a94 commit 7dbf37bCopy full SHA for 7dbf37b
src/libcore/future/future.rs
@@ -23,7 +23,7 @@ use crate::task::{Context, Poll};
23
/// When using a future, you generally won't call `poll` directly, but instead
24
/// `await!` the value.
25
#[doc(spotlight)]
26
-#[must_use = "futures do nothing unless polled"]
+#[must_use = "futures do nothing unless you `.await` or poll them"]
27
#[stable(feature = "futures_api", since = "1.36.0")]
28
pub trait Future {
29
/// The type of value produced on completion.
0 commit comments