From 63e9bc50f563dd0cddbdf957e27c3159aac49249 Mon Sep 17 00:00:00 2001 From: zzak Date: Sat, 3 Nov 2012 02:45:15 +0000 Subject: [PATCH] * hash.c (rb_hash_delete): Correct grammar Patch by Glenn Oppegard [Fixes #208 Github] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ hash.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d737c41874..c55f4554d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat Nov 3 11:43:00 2012 Zachary Scott + + * hash.c (rb_hash_delete): Correct grammar + Patch by Glenn Oppegard + [Fixes #208 Github] + Sat Nov 3 11:28:28 2012 Narihiro Nakamura * NEWS: add a news about GC::Profiler.raw_data. diff --git a/hash.c b/hash.c index ea9dd87d8d..b8ba4a88b6 100644 --- a/hash.c +++ b/hash.c @@ -815,8 +815,8 @@ rb_hash_delete_key(VALUE hash, VALUE key) * hsh.delete(key) -> value * hsh.delete(key) {| key | block } -> value * - * Deletes and returns a key-value pair from hsh whose key is - * equal to key. If the key is not found, returns the + * Deletes the key-value pair and returns the value from hsh whose + * key is equal to key. If the key is not found, returns the * default value. If the optional code block is given and the * key is not found, pass in the key and return the result of * block.