Skip to content

Commit 2fc33f9

Browse files
committed
Add missing comma in Generators
1 parent 0a77980 commit 2fc33f9

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)