summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorydah <t.yudai92@gmail.com>2024-09-26 18:54:15 +0900
committerNobuyoshi Nakada <nobu.nakada@gmail.com>2024-09-26 20:01:20 +0900
commitcc1e1e77d50833aa5a64f6c399e3def637294f43 (patch)
tree88a793dba3f5a79c550f8afe72a86fcc9aac5db3
parent3e742579bb5626e1d48c2c2e65cd448399deae9b (diff)
s/useable/usable/
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11694
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 13a63f6e9c..3a8dfd5917 100644
--- a/hash.c
+++ b/hash.c
@@ -6792,7 +6792,7 @@ static const rb_data_type_t env_data_type = {
*
* ==== User-Defined +Hash+ Keys
*
- * To be useable as a +Hash+ key, objects must implement the methods <code>hash</code> and <code>eql?</code>.
+ * To be usable as a +Hash+ key, objects must implement the methods <code>hash</code> and <code>eql?</code>.
* Note: this requirement does not apply if the +Hash+ uses #compare_by_identity since comparison will then
* rely on the keys' object id instead of <code>hash</code> and <code>eql?</code>.
*