From bfbf9bd6d36638994074e5a7780a9b0e861b4c42 Mon Sep 17 00:00:00 2001 From: mame Date: Wed, 19 Sep 2018 02:07:33 +0000 Subject: [PATCH] * hash.c (rb_hash_update): remove a meticulous explanation As per Marc-Andre's comment. [Refs GH-1951] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- hash.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hash.c b/hash.c index 8204561bf1..514f9bbaf8 100644 --- a/hash.c +++ b/hash.c @@ -2559,8 +2559,7 @@ rb_hash_update_block_i(VALUE key, VALUE value, VALUE hash) * specified, entries with duplicate keys are overwritten with the values from * each _other_hash_, otherwise the value of each duplicate key is determined by * calling the block with the key, its value in _hsh_ and its value in - * each _other_hash_. The method also can be called with no argument, - * then nothing will change in the receiver. + * each _other_hash_. * * h1 = { "a" => 100, "b" => 200 } * h1.merge!() #=> {"a"=>100, "b"=>200}