From a24c607e30b5a74ef53e9a2c1e630dea46151a84 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Mon, 8 Aug 2022 09:26:07 -0400 Subject: [PATCH] [DOC] Fix formatting issue in Enumerable --- enum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enum.c b/enum.c index e3dc177ba1..97215b627e 100644 --- a/enum.c +++ b/enum.c @@ -4808,7 +4808,7 @@ enum_compact(VALUE obj) * - #grep_v: Returns elements selected by a given object * or objects returned by a given block. * - #reduce, #inject: Returns the object formed by combining all elements. - * - #sum: Returns the sum of the elements, using method +++. + * - #sum: Returns the sum of the elements, using method +. * - #zip: Combines each element with elements from other enumerables; * returns the n-tuples or calls the block with each. * - #cycle: Calls the block with each element, cycling repeatedly.