From 3b239d2480123046a59a75f1089ab58d192b9c57 Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Sun, 19 Feb 2023 20:16:04 +0000 Subject: Remove (newly unneeded) remarks about aliases --- enum.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'enum.c') diff --git a/enum.c b/enum.c index e97fee2ef6..8e89b603a6 100644 --- a/enum.c +++ b/enum.c @@ -706,7 +706,6 @@ enum_flat_map(VALUE obj) * * (0..4).to_a # => [0, 1, 2, 3, 4] * - * Enumerable#entries is an alias for Enumerable#to_a. */ static VALUE enum_to_a(int argc, VALUE *argv, VALUE obj) @@ -1000,7 +999,6 @@ ary_inject_op(VALUE ary, VALUE init, VALUE op) * "Memo: 3; element: 3" * "Memo: 6; element: 4" * - * Enumerable#reduce is an alias for Enumerable#inject. * */ static VALUE @@ -2722,8 +2720,6 @@ member_i(RB_BLOCK_CALL_FUNC_ARGLIST(iter, args)) * {foo: 0, bar: 1, baz: 2}.include?('foo') # => false * {foo: 0, bar: 1, baz: 2}.include?(0) # => false * - * Enumerable#member? is an alias for Enumerable#include?. - * */ static VALUE -- cgit v1.2.1