Skip to content

Commit

Permalink
Add missing comma in Generators
Browse files Browse the repository at this point in the history
  • Loading branch information
Morganamilo committed Dec 8, 2018
1 parent 0a77980 commit 2fc33f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/unstable-book/src/language-features/generators.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ closure-like semantics. Namely:
* Whenever a generator is dropped it will drop all captured environment
variables.

Note that unlike closures generators at this time cannot take any arguments.
Note that unlike closures, generators at this time cannot take any arguments.
That is, generators must always look like `|| { ... }`. This restriction may be
lifted at a future date, the design is ongoing!

Expand Down

0 comments on commit 2fc33f9

Please sign in to comment.