ruby-changes:41586
From: nobu <ko1@a...>
Date: Tue, 26 Jan 2016 19:36:22 +0900 (JST)
Subject: [ruby-changes:41586] nobu:r53660 (trunk): array.c: reword [ci skip]
nobu 2016-01-26 19:37:12 +0900 (Tue, 26 Jan 2016) New Revision: 53660 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53660 Log: array.c: reword [ci skip] * array.c (permute0, rpermute0): [DOC] Substitute indexes -> indices in documentation for consistency. [Fix GH-1222] Modified files: trunk/ChangeLog trunk/array.c Index: ChangeLog =================================================================== --- ChangeLog (revision 53659) +++ ChangeLog (revision 53660) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Jan 26 19:36:15 2016 Aggelos Avgerinos <evaggelos.avgerinos@g...> + + * array.c (permute0, rpermute0): [DOC] Substitute indexes -> + indices in documentation for consistency. [Fix GH-1222] + Tue Jan 26 15:21:37 2016 Eric Wong <e@8...> * compile.c (caller_location): use rb_fstring_cstr for "<compiled>" Index: array.c =================================================================== --- array.c (revision 53659) +++ array.c (revision 53660) @@ -4828,8 +4828,8 @@ yield_indexed_values(const VALUE values, https://github.com/ruby/ruby/blob/trunk/array.c#L4828 /* * Compute permutations of +r+ elements of the set <code>[0..n-1]</code>. * - * When we have a complete permutation of array indexes, copy the values - * at those indexes into a new array and yield that array. + * When we have a complete permutation of array indices, copy the values + * at those indices into a new array and yield that array. * * n: the size of the set * r: the number of elements in each permutation @@ -5068,8 +5068,8 @@ rb_ary_combination(VALUE ary, VALUE num) https://github.com/ruby/ruby/blob/trunk/array.c#L5068 * Compute repeated permutations of +r+ elements of the set * <code>[0..n-1]</code>. * - * When we have a complete repeated permutation of array indexes, copy the - * values at those indexes into a new array and yield that array. + * When we have a complete repeated permutation of array indices, copy the + * values at those indices into a new array and yield that array. * * n: the size of the set * r: the number of elements in each permutation -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/