We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a77980 commit 2fc33f9Copy full SHA for 2fc33f9
src/doc/unstable-book/src/language-features/generators.md
@@ -149,7 +149,7 @@ closure-like semantics. Namely:
149
* Whenever a generator is dropped it will drop all captured environment
150
variables.
151
152
-Note that unlike closures generators at this time cannot take any arguments.
+Note that unlike closures, generators at this time cannot take any arguments.
153
That is, generators must always look like `|| { ... }`. This restriction may be
154
lifted at a future date, the design is ongoing!
155
0 commit comments