summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
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 c58b316525..7aeec160f6 100644
--- a/array.c
+++ b/array.c
@@ -4350,7 +4350,7 @@ rb_ary_or(VALUE ary1, VALUE ary2)
* It compares elements using their #hash and #eql? methods for efficiency.
*
* [ "a", "b", "c" ].union( [ "c", "d", "a" ] ) #=> [ "a", "b", "c", "d" ]
- * [ "a" ].union( [ ["e", "b"], ["a", "c", "b"] ] ) #=> [ "a", "e", "b", "c" ]
+ * [ "a" ].union( ["e", "b"], ["a", "c", "b"] ) #=> [ "a", "e", "b", "c" ]
* [ "a" ].union #=> [ "a" ]
*
* See also Array#|.