about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authormorganamilo <morganamilo@gmail.com>2018-12-08 04:13:18 +0000
committermorganamilo <morganamilo@gmail.com>2018-12-08 04:13:18 +0000
commit2fc33f9b9771eb2fd84e3dbae02b772ec01fd57e (patch)
treee2215b5a7d02a3371546125a82fbafd8d7fd207b /src/doc
parent0a7798079608b4ff014471ae64b6c8201aa59cdf (diff)
downloadrust-2fc33f9b9771eb2fd84e3dbae02b772ec01fd57e.tar.gz
rust-2fc33f9b9771eb2fd84e3dbae02b772ec01fd57e.zip
Add missing comma in Generators
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/unstable-book/src/language-features/generators.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/language-features/generators.md b/src/doc/unstable-book/src/language-features/generators.md
index 8e888de90a9..968534e58bd 100644
--- a/src/doc/unstable-book/src/language-features/generators.md
+++ b/src/doc/unstable-book/src/language-features/generators.md
@@ -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!