From 00e84afa3343d277129d452c3b0b455fe2c71c38 Mon Sep 17 00:00:00 2001 From: matz Date: Sat, 12 Feb 2011 22:41:02 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ enum.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6bb1c632f8..6e945553b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Feb 13 07:39:51 2011 Yukihiro Matsumoto + + * enum.c (enum_inject): typo fixed. a patch from Gaku Ueda in + [ruby-core:35216]. + Sun Feb 13 00:48:47 2011 Tadayoshi Funaba * lib/date.rb (Date#===): [ruby-core:35127] 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 memo. * In either case, the result becomes the new value for memo. * At the end of the iteration, the final value of memo is the - * return value fo the method. + * return value for the method. * * If you do not explicitly specify an initial value for memo, * then uses the first element of collection is used as the initial value