summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorDorian MariƩ (perso) <dorian@dorianmarie.fr>2023-09-02 18:46:33 +0200
committerGitHub <noreply@github.com>2023-09-03 01:46:33 +0900
commit3887b45f47c32cf0171046bc23efc3887d8b58fc (patch)
treea14966a5bfd0bbe288f0aa0334fb03e0bd0cd707 /hash.c
parentef4dab6983267d6c6719629693baa59eb9c24543 (diff)
[DOC] FIx typo in description of Hash#hash (regardless or/of order)
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8356 Merged-By: nobu <nobu@ruby-lang.org>
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 c445ca5566..4039e0851f 100644
--- a/hash.c
+++ b/hash.c
@@ -3772,7 +3772,7 @@ hash_i(VALUE key, VALUE val, VALUE arg)
* Returns the Integer hash-code for the hash.
*
* Two \Hash objects have the same hash-code if their content is the same
- * (regardless or order):
+ * (regardless of order):
* h1 = {foo: 0, bar: 1, baz: 2}
* h2 = {baz: 2, bar: 1, foo: 0}
* h2.hash == h1.hash # => true