[DOC] Typo in Hash#key description "so/no such value"

This commit is contained in:
Dorian Marié (perso) 2023-09-02 18:47:50 +02:00 committed by GitHub
parent 3887b45f47
commit 8cd62fbc17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2023-09-02 16:48:11 +00:00
Merged: https://github.com/ruby/ruby/pull/8357

Merged-By: nobu <nobu@ruby-lang.org>

2
hash.c
View File

@ -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