From 0c923fed7d659e80352cc5aa69e28eea61bcc63e Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Wed, 27 Dec 2023 11:16:01 -0500 Subject: [PATCH] [DOC] Fix syntax in Hash#eql? --- hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hash.c b/hash.c index 720efd83e668f8..3aff655a94861d 100644 --- a/hash.c +++ b/hash.c @@ -3791,7 +3791,7 @@ rb_hash_equal(VALUE hash1, VALUE hash2) * Returns +true+ if all of the following are true: * * +object+ is a \Hash object. * * +hash+ and +object+ have the same keys (regardless of order). - * * For each key +key+, h[key] eql? object[key]. + * * For each key +key+, h[key].eql?(object[key]). * * Otherwise, returns +false+. *