aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--enumerator.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 46cbb3027e..83cfbaa1e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon Aug 5 06:13:48 2013 Zachary Scott <e@zzak.io>
+
+ * enumerator.c: [DOC] Remove reference to Enumerator::Lazy#cycle
+ Patch by @kachick [Fixes GH-372]
+ https://github.com/ruby/ruby/pull/372
+
Mon Aug 5 03:57:16 2013 Zachary Scott <e@zzak.io>
* lib/rss/0.9.rb: [DOC] Document RSS09 by Steve Klabnik [Bug #8732]
diff --git a/enumerator.c b/enumerator.c
index aa961851bf..df73aef7a2 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -1385,8 +1385,8 @@ lazy_set_method(VALUE lazy, VALUE args, rb_enumerator_size_func *size_fn)
*
* Returns a lazy enumerator, whose methods map/collect,
* flat_map/collect_concat, select/find_all, reject, grep, zip, take,
- * take_while, drop, drop_while, and cycle enumerate values only on an
- * as-needed basis. However, if a block is given to zip or cycle, values
+ * take_while, drop, and drop_while enumerate values only on an
+ * as-needed basis. However, if a block is given to zip, values
* are enumerated immediately.
*
* === Example