From 921dc157d8d88365c0715851fb3c344d247247dd Mon Sep 17 00:00:00 2001 From: stomar Date: Sat, 13 Oct 2018 19:01:22 +0000 Subject: array.c: fix rdoc syntax * array.c: [DOC] use `other_arys' instead of `+other_ary+s', which is not rendered correctly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- array.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'array.c') diff --git a/array.c b/array.c index 2a944d2d75..24589a96da 100644 --- a/array.c +++ b/array.c @@ -3709,7 +3709,7 @@ ary_append(VALUE x, VALUE y) * call-seq: * ary.concat(other_ary1, other_ary2,...) -> ary * - * Appends the elements of +other_ary+s to +self+. + * Appends the elements of other_arys to +self+. * * [ "a", "b" ].concat( ["c", "d"]) #=> [ "a", "b", "c", "d" ] * [ "a" ].concat( ["b"], ["c", "d"]) #=> [ "a", "b", "c", "d" ] @@ -4227,7 +4227,7 @@ rb_ary_diff(VALUE ary1, VALUE ary2) * Array Difference * * Returns a new array that is a copy of +self+, removing any items - * that also appear in any of the +other_ary+s. The order of +self+ is + * that also appear in any of the other_arys. The order of +self+ is * preserved. * * It compares elements using their #hash and #eql? methods for efficiency. @@ -4401,7 +4401,7 @@ rb_ary_or(VALUE ary1, VALUE ary2) * call-seq: * ary.union(other_ary1, other_ary2,...) -> ary * - * Set Union --- Returns a new array by joining +other_ary+s with +self+, + * Set Union --- Returns a new array by joining other_arys with +self+, * excluding any duplicates and preserving the order from the given arrays. * * It compares elements using their #hash and #eql? methods for efficiency. -- cgit v1.2.3