Change reference to function to correctly match example

This commit is contained in:
Lars Christensen 2019-09-06 00:35:06 +02:00 committed by Taylor Cramer
parent 7e0213f7f7
commit 7aba2abd35
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 `borrow_x`.
that of the `Future` returned from the call to `good`.
## `async move`