* 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:
nobu 2014-12-02 06:59:25 +00:00
Родитель 24f5f816ff
Коммит 820e5ade8b
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -3530,12 +3530,11 @@ rb_ary_fill(int argc, VALUE *argv, VALUE ary)
* is the same as
* x = x + y
* 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.
*/
VALUE
rb_ary_plus(VALUE x, VALUE y)
{