Skip to content

Commit

Permalink
Update src/expressions/block-expr.md
Browse files Browse the repository at this point in the history
Co-Authored-By: Eric Huss <eric@huss.org>
  • Loading branch information
nikomatsakis and ehuss authored Jul 12, 2019
1 parent def002a commit baf2d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expressions/block-expr.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Async blocks capture variables from their environment using the same
[capture modes] as closures. Like closures, when written `async {
.. }` the capture mode for each variable will be inferred from the
content of the block. `async move { .. }` blocks however will move all
referenced variables are moved into the resulting future.
referenced variables into the resulting future.

[capture modes]: types/closure.html#capture-modes
[shared references]: types/pointer.html#shared-references-
Expand Down

0 comments on commit baf2d4e

Please sign in to comment.