summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
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 6feb3a0f23..d502047c25 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