Add missing comma in Generators
This commit is contained in:
parent
0a77980796
commit
2fc33f9b97
1 changed files with 1 additions and 1 deletions
|
@ -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!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue