mirror of https://github.com/rust-lang/async-book
Fix function name to match example
This commit is contained in:
parent
b10d07184b
commit
7e0213f7f7
|
@ -48,7 +48,7 @@ into a `'static` future is to bundle the arguments with the call to the
|
|||
```
|
||||
|
||||
By moving the argument into the `async` block, we extend its lifetime to match
|
||||
that of the `Future` returned from the call to `foo`.
|
||||
that of the `Future` returned from the call to `borrow_x`.
|
||||
|
||||
## `async move`
|
||||
|
||||
|
|
Loading…
Reference in New Issue