aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-12-27 11:16:31 -0500
committerPeter Zhu <peter@peterzhu.ca>2023-12-29 09:10:58 -0500
commit4d4da09ae490120fd07ef083a0fef0ea5d8b3f7e (patch)
tree2b40fbd1896130dcb5f136d2d2e0a0d470fbc26d
parent7595c5d4a5d5cf23bab7a28ce7e6c0f3a00419d1 (diff)
downloadruby-4d4da09ae490120fd07ef083a0fef0ea5d8b3f7e.tar.gz
[DOC] Remove useless word in Hash#eql?
-rw-r--r--hash.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 4b74261ae8..720efd83e6 100644
--- a/hash.c
+++ b/hash.c
@@ -3795,7 +3795,6 @@ rb_hash_equal(VALUE hash1, VALUE hash2)
*
* Otherwise, returns +false+.
*
- * Equal:
* h1 = {foo: 0, bar: 1, baz: 2}
* h2 = {foo: 0, bar: 1, baz: 2}
* h1.eql? h2 # => true