summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorDorian MariƩ (perso) <dorian@dorianmarie.fr>2023-09-02 18:47:50 +0200
committerGitHub <noreply@github.com>2023-09-03 01:47:50 +0900
commit8cd62fbc174beae65d5670ea92611cc7a9c34d7d (patch)
tree7ed86adda21d740d755db0ba3be3e58f0fec4c8d /hash.c
parent3887b45f47c32cf0171046bc23efc3887d8b58fc (diff)
[DOC] Typo in Hash#key description "so/no such value"
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8357 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 4039e0851f..8c595e4595 100644
--- a/hash.c
+++ b/hash.c
@@ -2287,7 +2287,7 @@ key_i(VALUE key, VALUE value, VALUE arg)
* h.key(0) # => :foo
* h.key(2) # => :bar
*
- * Returns +nil+ if so such value is found.
+ * Returns +nil+ if no such value is found.
*/
static VALUE