mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* array.c: Fix typo. https://github.com/ruby/ruby/pull/36
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a18b03c96c
commit
710dc1afc0
2 changed files with 5 additions and 1 deletions
2
array.c
2
array.c
|
@ -3591,7 +3591,7 @@ rb_ary_uniq(VALUE ary)
|
|||
*
|
||||
* Removes +nil+ elements from the array.
|
||||
* Returns +nil+ if no changes were made, otherwise returns
|
||||
* </i>ary</i>.
|
||||
* <i>ary</i>.
|
||||
*
|
||||
* [ "a", nil, "b", nil, "c" ].compact! #=> [ "a", "b", "c" ]
|
||||
* [ "a", "b", "c" ].compact! #=> nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue