1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* array.c: Fix mistake in rdoc of Array#uniq.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
marcandre 2012-11-07 19:45:59 +00:00
parent 0ab21f9572
commit bc63449331

View file

@ -3741,8 +3741,8 @@ rb_ary_uniq_bang(VALUE ary)
/*
* call-seq:
* ary.uniq -> ary or nil
* ary.uniq { |item| ... } -> ary or nil
* ary.uniq -> new_ary
* ary.uniq { |item| ... } -> new_ary
*
* Returns a new array by removing duplicate values in +self+.
*