Skip to content

Commit

Permalink
[DOC] FIx typo in description of Hash#hash (regardless or/of order)
Browse files Browse the repository at this point in the history
  • Loading branch information
dorianmariecom committed Sep 2, 2023
1 parent ef4dab6 commit 3887b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hash.c
Expand Up @@ -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
Expand Down

0 comments on commit 3887b45

Please sign in to comment.