From 4c08223945ab5d8651c9fec291a5dd2386d9ee43 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 20 Sep 2018 03:18:54 +0000 Subject: Link Array#union from | method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `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 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'array.c') diff --git a/array.c b/array.c index e49071d5a1..5202eb9947 100644 --- a/array.c +++ b/array.c @@ -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 -- cgit v1.2.3