diff options
| author | diwic <diwic@users.noreply.github.com> | 2019-05-27 07:27:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-27 07:27:13 +0200 |
| commit | 5c5f08ab9375606a686223bdf3d883cf8dac0e04 (patch) | |
| tree | 59ccdf7efbc4b0fc26bb93119ced8b7e836c4353 /src/libcore/future | |
| parent | ed2a5115daaffdab30b102405ffcfb222decf444 (diff) | |
| download | rust-5c5f08ab9375606a686223bdf3d883cf8dac0e04.tar.gz rust-5c5f08ab9375606a686223bdf3d883cf8dac0e04.zip | |
Use .await syntax instead of await!
Diffstat (limited to 'src/libcore/future')
| -rw-r--r-- | src/libcore/future/future.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/future/future.rs b/src/libcore/future/future.rs index 3f76ac20192..0492fd709b8 100644 --- a/src/libcore/future/future.rs +++ b/src/libcore/future/future.rs @@ -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")] |
