Skip to content

Commit 88115b9

Browse files
authored
Rollup merge of rust-lang#61227 - diwic:patch-2, r=Centril
Use .await syntax instead of await! Tiny doc fix.
2 parents e3b66d6 + 5c5f08a commit 88115b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/future/future.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use crate::task::{Context, Poll};
2121
/// task.
2222
///
2323
/// When using a future, you generally won't call `poll` directly, but instead
24-
/// `await!` the value.
24+
/// `.await` the value.
2525
#[doc(spotlight)]
2626
#[must_use = "futures do nothing unless you `.await` or poll them"]
2727
#[stable(feature = "futures_api", since = "1.36.0")]

0 commit comments

Comments
 (0)