1
Fork 0

Add missing comma in Generators

This commit is contained in:
morganamilo 2018-12-08 04:13:18 +00:00
parent 0a77980796
commit 2fc33f9b97
No known key found for this signature in database
GPG key ID: 6FE9E7996B0B082E

View file

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