From f6809f61d64ebdb95297722f607b6faa97acab08 Mon Sep 17 00:00:00 2001 From: drbrain Date: Tue, 31 May 2011 22:35:59 +0000 Subject: * hash.c (key_i): Change rdoc from "the first occurence" to "an occurrence" since first occurrence is not a specification of Hash#key. [Ruby 1.9 - Bug #4760] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hash.c') diff --git a/hash.c b/hash.c index bf240d7082..742cbc6205 100644 --- a/hash.c +++ b/hash.c @@ -740,7 +740,7 @@ key_i(VALUE key, VALUE value, VALUE arg) * call-seq: * hsh.key(value) -> key * - * Returns the key of the first occurrence of a given value. If the value is + * Returns the key of an occurrence of a given value. If the value is * not found, returns nil. * * h = { "a" => 100, "b" => 200, "c" => 300, "d" => 300 } -- cgit v1.2.3