Rollup merge of #56621 - Morganamilo:fix-generators-comma, r=Centril

Add missing comma in Generators
This commit is contained in:
Mazdak Farrokhzad
2018-12-08 08:43:50 +01:00
committed by GitHub
@@ -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!