Skip to content

Commit a8cc916

Browse files
authored
Rollup merge of #56621 - Morganamilo:fix-generators-comma, r=Centril
Add missing comma in Generators
2 parents 9f7f949 + 2fc33f9 commit a8cc916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/doc/unstable-book/src/language-features/generators.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ closure-like semantics. Namely:
149149
* Whenever a generator is dropped it will drop all captured environment
150150
variables.
151151

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

0 commit comments

Comments
 (0)