aboutsummaryrefslogtreecommitdiffstats
path: root/array.c
diff options
context:
space:
mode:
authorKenichi Kamiya <kachick1@gmail.com>2019-06-24 17:33:30 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-04 09:20:29 +0900
commit84829392f5bb094b2cac117a67d37307ecc3640b (patch)
tree55707f644862cddcfbae88636138a55fd25d21f1 /array.c
parent4173258fd0413c49ef07d54bc9654bba7e497e89 (diff)
downloadruby-84829392f5bb094b2cac117a67d37307ecc3640b.tar.gz
[Doc] Fix Array#difference call-seq
Closes: https://github.com/ruby/ruby/pull/2255
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 7989adeada..44a0300efd 100644
--- a/array.c
+++ b/array.c
@@ -4545,7 +4545,7 @@ rb_ary_diff(VALUE ary1, VALUE ary2)
/*
* call-seq:
- * ary.difference(other_ary1, other_ary2, ...) -> ary
+ * ary.difference(other_ary1, other_ary2, ...) -> new_ary
*
* Array Difference
*