summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-21 08:34:25 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-21 08:34:25 +0000
commit0744b375b8badf38b06edc08a8f7ab41575a2990 (patch)
tree3283fc2dfb99958197bc1d9bc890767c5ba2bf94 /enum.c
parent89874314088c6b146ae3212514650a5ab53fcd98 (diff)
Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64804 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 d75e9d7f95..ce7d0102aa 100644
--- a/enum.c
+++ b/enum.c
@@ -637,7 +637,7 @@ enum_to_h_ii(RB_BLOCK_CALL_FUNC_ARGLIST(i, hash))
* # => {:hello => 0, :world => 1}
*
* If a block is given, the results of the block on each element of
- * the array will be used as pairs.
+ * the enum will be used as pairs.
*
* (1..5).to_h {|x| [x, x ** 2]}
* #=> {1=>1, 2=>4, 3=>9, 4=>16, 5=>25}