Skip to content

Commit

Permalink
Use .await syntax instead of await!
Browse files Browse the repository at this point in the history
  • Loading branch information
diwic authored May 27, 2019
1 parent ed2a511 commit 5c5f08a
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 5c5f08a

Please sign in to comment.