summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-19 02:07:33 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-19 02:07:33 +0000
commitbfbf9bd6d36638994074e5a7780a9b0e861b4c42 (patch)
treeccd6fbe83b327eb28be1314d9b09bdec12d4137a /hash.c
parentd6a06a768c0fa8f048f307e58d08142584c55af9 (diff)
* 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
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index 8204561..514f9bb 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}