Skip to content

Commit 17a7b4e

Browse files
authored
[DOC] Fix typo in Hash#compare_by_identity docs
1 parent 8db3009 commit 17a7b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4649,7 +4649,7 @@ rb_hash_compact_bang(VALUE hash)
46494649
* returns +self+:
46504650
*
46514651
* By default, two keys are considered to be the same key
4652-
* if and only if they are _equal_ objects (per method #==):
4652+
* if and only if they are _equal_ objects (per method #eql?):
46534653
*
46544654
* h = {}
46554655
* h['x'] = 0

0 commit comments

Comments
 (0)