aboutsummaryrefslogtreecommitdiffstats
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
commit407622616dcdd0bf47b7e67841808b5f31a69f5c (patch)
treeccd6fbe83b327eb28be1314d9b09bdec12d4137a /hash.c
parentb21dcc8ed8c1bcc978d207a6594079faa29e35eb (diff)
downloadruby-407622616dcdd0bf47b7e67841808b5f31a69f5c.tar.gz
* 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 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}