summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-26 17:15:00 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-26 17:15:00 +0000
commitaba4666e197331362f4a53b37bc21909144a3494 (patch)
tree9a59a2a739ca7ddbf1d798c7b5ebf66fd927944f /enum.c
parent52e0246b61c3eb9871761692704e41687f8437c0 (diff)
* eval.c (localjump_destination): lambda should not interfere
return from the yielded block. * hash.c (delete_if_i): use st_delete_safe() (via rb_hash_delete()) instead of returning ST_DELETE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enum.c b/enum.c
index 0b88176fb6..cf05219abc 100644
--- a/enum.c
+++ b/enum.c
@@ -661,7 +661,7 @@ min_ii(i, memo)
*
* a = %w(albatross dog horse)
* a.min #=> "albatross"
- * a.max {|a,b| a.length <=> b.length } #=> "dog"
+ * a.min {|a,b| a.length <=> b.length } #=> "dog"
*/
static VALUE