summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2023-12-27 11:16:01 -0500
committerPeter Zhu <[email protected]>2023-12-29 09:10:58 -0500
commit0c923fed7d659e80352cc5aa69e28eea61bcc63e (patch)
tree320ff359e0888e3b1dde60803c9b7af82df09db2 /hash.c
parent4d4da09ae490120fd07ef083a0fef0ea5d8b3f7e (diff)
[DOC] Fix syntax in Hash#eql?
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 720efd83e6..3aff655a94 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+, <tt>h[key] eql? object[key]</tt>.
+ * * For each key +key+, <tt>h[key].eql?(object[key])</tt>.
*
* Otherwise, returns +false+.
*