mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
array.c: decoration
* array.c (rb_ary_plus): inline decoration of the operator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
24f5f816ff
commit
820e5ade8b
1 changed files with 1 additions and 2 deletions
3
array.c
3
array.c
|
@ -3530,12 +3530,11 @@ rb_ary_fill(int argc, VALUE *argv, VALUE ary)
|
||||||
* is the same as
|
* is the same as
|
||||||
* x = x + y
|
* x = x + y
|
||||||
* This means that it produces a new array. As a consequence,
|
* This means that it produces a new array. As a consequence,
|
||||||
* repeated use of += on arrays can be quite inefficient.
|
* repeated use of <code>+=</code> on arrays can be quite inefficient.
|
||||||
*
|
*
|
||||||
* See also Array#concat.
|
* See also Array#concat.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
VALUE
|
VALUE
|
||||||
rb_ary_plus(VALUE x, VALUE y)
|
rb_ary_plus(VALUE x, VALUE y)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue