@@ -23,12 +23,12 @@ More specifically, an `<expr>.await` expression has the following effect.
23
23
value contained in the [ ` Poll::Ready ` ] variant is used as the result
24
24
of the ` await ` expression itself.
25
25
26
- [ future ] : https://doc.rust-lang.org /std/future/trait.Future.html
26
+ [ future ] : .. /std/future/trait.Future.html
27
27
[ _Expression_ ] : expressions.html
28
- [ `Future::poll` ] : https://doc.rust-lang.org /std/future/trait.Future.html#tymethod.poll
29
- [ `Context` ] : https://doc.rust-lang.org /std/task/struct.Context.html
30
- [ `Poll::Pending` ] : https://doc.rust-lang.org /std/task/enum.Poll.html#variant.Pending
31
- [ `Poll::Ready` ] : https://doc.rust-lang.org /std/task/enum.Poll.html#variant.Ready
28
+ [ `Future::poll` ] : .. /std/future/trait.Future.html#tymethod.poll
29
+ [ `Context` ] : .. /std/task/struct.Context.html
30
+ [ `Poll::Pending` ] : .. /std/task/enum.Poll.html#variant.Pending
31
+ [ `Poll::Ready` ] : .. /std/task/enum.Poll.html#variant.Ready
32
32
33
33
> ** Edition differences** : Await expressions are only available in Rust 2018.
34
34
@@ -39,8 +39,8 @@ current [async context] when the async context itself was
39
39
polled. Because ` await ` expressions are only legal in an async
40
40
context, there must be some task context available.
41
41
42
- [ `Context` ] : https://doc.rust-lang.org /std/task/struct.Context.html
43
- [ async context ] : ../ expressions/block-expr.html#async-context
42
+ [ `Context` ] : .. /std/task/struct.Context.html
43
+ [ async context ] : expressions/block-expr.html#async-context
44
44
45
45
## Approximate desugaring
46
46
0 commit comments