summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2023-12-25 13:56:15 -0500
committerPeter Zhu <[email protected]>2023-12-25 13:56:15 -0500
commitca886cd253e5c38b0bd51e57ad791c00533c20a0 (patch)
tree10a506a6ceb0a8b2cabff757b7c97c2461f737d8
parent301a7b1e1d668c8537abea81e88553fefaa747b0 (diff)
[DOC] Link to Array#eql? from Array#hash
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index d029d44b39..8fe44292e2 100644
--- a/array.c
+++ b/array.c
@@ -5191,7 +5191,7 @@ rb_ary_hash_values(long len, const VALUE *elements)
*
* Returns the integer hash value for +self+.
*
- * Two arrays with the same content will have the same hash code (and will compare using eql?):
+ * Two arrays with the same content will have the same hash code (and will compare using #eql?):
*
* [0, 1, 2].hash == [0, 1, 2].hash # => true
* [0, 1, 2].hash == [0, 1, 3].hash # => false