aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--enumerator.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a2c09d0c08..0c87dfba5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@ Sat Jun 21 04:36:59 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/bigdecimal/lib/bigdecimal/jacobian.rb (Jacobian::dfdxi):
typo fixed (raize -> raise). [ruby-list:45101]
+ * enumerator.c (enum_each_cons): typo in RDoc fixed.
+
Sat Jun 21 00:45:34 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
* tool/make-snapshot: do not use sha256sum; use BASERUBY instead
diff --git a/enumerator.c b/enumerator.c
index c39a48ef79..c5d9f40f4c 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -169,7 +169,7 @@ each_cons_i(VALUE val, VALUE *memo)
* each_cons(n)
*
* Iterates the given block for each array of consecutive <n>
- * elements. If no block is given, returns an enumerator.a
+ * elements. If no block is given, returns an enumerator.
*
* e.g.:
* (1..10).each_cons(3) {|a| p a}