about summary refs log tree commit diff
path: root/src/libcore/future
diff options
context:
space:
mode:
authordiwic <diwic@users.noreply.github.com>2019-05-27 07:27:13 +0200
committerGitHub <noreply@github.com>2019-05-27 07:27:13 +0200
commit5c5f08ab9375606a686223bdf3d883cf8dac0e04 (patch)
tree59ccdf7efbc4b0fc26bb93119ced8b7e836c4353 /src/libcore/future
parented2a5115daaffdab30b102405ffcfb222decf444 (diff)
downloadrust-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.rs2
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")]