summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-20 03:18:54 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-20 03:18:54 (GMT)
commit4c08223945ab5d8651c9fec291a5dd2386d9ee43 (patch)
tree7ca22a9105f9103a1809f67471bb2b4b68ad3209 /array.c
parentd0f9184f8be497313e3b26911c99fa0d23a8ebed (diff)
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
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index e49071d..5202eb9 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