You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/expressions/await-expr.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
An `await` expression is a syntactic construct for suspending a computation
8
8
provided by an implementation of `std::future::IntoFuture` until the given
9
9
future is ready to produce a value.
10
-
The syntax for an await expression is an expression with a type that implements the [IntoFuture] trait, called the *future operand*, then the token `.`, and then the `await` keyword.
10
+
The syntax for an await expression is an expression with a type that implements the [`IntoFuture`] trait, called the *future operand*, then the token `.`, and then the `await` keyword.
11
11
Await expressions are legal only within an [async context], like an [`async fn`] or an [`async` block].
12
12
13
13
More specifically, an await expression has the following effect.
0 commit comments