1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2011-07-26 14:37:09 +00:00
parent a18b03c96c
commit 710dc1afc0
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Jul 26 23:33:24 2011 Igor Zubkov <igor.zubkov@gmail.com>
* array.c: Fix typo. https://github.com/ruby/ruby/pull/36
Mon Jul 25 23:51:01 2011 Yusuke Endoh <mame@tsg.ne.jp>
* proc.c: pre-allocate the unlinked_method_entry_list_entry struct to

View file

@ -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