summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-12 22:41:02 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-12 22:41:02 +0000
commit00e84afa3343d277129d452c3b0b455fe2c71c38 (patch)
treea7f922c23b834c84679a94507647fa5f0e2e9d64 /enum.c
parentce430673bef566cf11b58ed4c2b7887f0912717f (diff)
* enum.c (enum_inject): typo fixed. a patch from Gaku Ueda in
[ruby-core:35216]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enum.c b/enum.c
index 823d111bc1..584b83836b 100644
--- a/enum.c
+++ b/enum.c
@@ -537,7 +537,7 @@ inject_op_i(VALUE i, VALUE p, int argc, VALUE *argv)
* will be passed to the named method of <i>memo</i>.
* In either case, the result becomes the new value for <i>memo</i>.
* At the end of the iteration, the final value of <i>memo</i> is the
- * return value fo the method.
+ * return value for the method.
*
* If you do not explicitly specify an <i>initial</i> value for <i>memo</i>,
* then uses the first element of collection is used as the initial value