summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--enum.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cf98d7db3a..81117baac1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Aug 19 11:11:24 2010 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * enum.c (enum_inject): fix typo of rdoc.
+ patched by Andrei Kulakov [ruby-core:31768]
+
Thu Aug 19 10:06:08 2010 Tanaka Akira <akr@fsij.org>
* ext/pathname/pathname.c (path_extname): Pathname#extname translated
diff --git a/enum.c b/enum.c
index fc8a3c35d2..32c33fb19c 100644
--- a/enum.c
+++ b/enum.c
@@ -527,7 +527,7 @@ inject_op_i(VALUE i, VALUE p, int argc, VALUE *argv)
* operation, specified by a block or a symbol that names a
* method or operator.
*
- * If you specify a block, then for each element in <i>enum<i>
+ * If you specify a block, then for each element in <i>enum</i>
* the block is passed an accumulator value (<i>memo</i>) and the element.
* If you specify a symbol instead, then each element in the collection
* will be passed to the named method of <i>memo</i>.