Link Array#union from | method

`Array#uniq` is not really related with `Array#|`, so I replaced it by
`Array#union`.

[Fix GH-1747] [Feature #14097]

From: Ana María Martínez Gómez <ammartinez@suse.de>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-09-20 03:18:54 +00:00
Родитель d0f9184f8b
Коммит 4c08223945
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -4294,7 +4294,7 @@ rb_ary_union(VALUE ary_union, VALUE ary)
* [ "a", "b", "c" ] | [ "c", "d", "a" ] #=> [ "a", "b", "c", "d" ]
* [ "c", "d", "a" ] | [ "a", "b", "c" ] #=> [ "c", "d", "a", "b" ]
*
* See also Array#uniq.
* See also Array#union.
*/
static VALUE