Fix function name to match example

This commit is contained in:
Lars Christensen 2019-09-05 12:24:19 +02:00 committed by Taylor Cramer
parent b10d07184b
commit 7e0213f7f7
1 changed files with 1 additions and 1 deletions

View File

@ -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`