ruby-changes:52592
From: kazu <ko1@a...>
Date: Fri, 21 Sep 2018 17:34:31 +0900 (JST)
Subject: [ruby-changes:52592] kazu:r64804 (trunk): Fix a typo [ci skip]
kazu 2018-09-21 17:34:25 +0900 (Fri, 21 Sep 2018) New Revision: 64804 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64804 Log: Fix a typo [ci skip] Modified files: trunk/enum.c Index: enum.c =================================================================== --- enum.c (revision 64803) +++ enum.c (revision 64804) @@ -637,7 +637,7 @@ enum_to_h_ii(RB_BLOCK_CALL_FUNC_ARGLIST( https://github.com/ruby/ruby/blob/trunk/enum.c#L637 * # => {: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} -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/