From 832252794eb3f9506a224d9368fb3f013558842a Mon Sep 17 00:00:00 2001 From: Rogerio Bordignon Date: Thu, 3 Mar 2022 12:18:21 -0300 Subject: [PATCH] Doc: fix documentation typo for Array#min --- array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/array.c b/array.c index ee3a4f2557..11ae67ead3 100644 --- a/array.c +++ b/array.c @@ -8110,7 +8110,7 @@ rb_ary_deconstruct(VALUE ary) * #last:: Returns one or more trailing elements. * #max:: Returns one or more maximum-valued elements, * as determined by <=> or a given block. - * #max:: Returns one or more minimum-valued elements, + * #min:: Returns one or more minimum-valued elements, * as determined by <=> or a given block. * #minmax:: Returns the minimum-valued and maximum-valued elements, * as determined by <=> or a given block.