Skip to content

Commit

Permalink
Rollup merge of #61227 - diwic:patch-2, r=Centril
Browse files Browse the repository at this point in the history
Use .await syntax instead of await!

Tiny doc fix.
  • Loading branch information
Centril authored May 27, 2019
2 parents e3b66d6 + 5c5f08a commit 88115b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/future/future.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use crate::task::{Context, Poll};
/// task.
///
/// When using a future, you generally won't call `poll` directly, but instead
/// `await!` the value.
/// `.await` the value.
#[doc(spotlight)]
#[must_use = "futures do nothing unless you `.await` or poll them"]
#[stable(feature = "futures_api", since = "1.36.0")]
Expand Down

0 comments on commit 88115b9

Please sign in to comment.