* hash.c (rb_hash_update): fix indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f7f216ed37
commit
f0f13cff72
4
hash.c
4
hash.c
@ -2595,10 +2595,10 @@ rb_hash_update(int argc, VALUE *argv, VALUE self)
|
||||
for (i = 0; i < argc; i++){
|
||||
VALUE hash = to_hash(argv[i]);
|
||||
if (block_given) {
|
||||
rb_hash_foreach(hash, rb_hash_update_block_i, self);
|
||||
rb_hash_foreach(hash, rb_hash_update_block_i, self);
|
||||
}
|
||||
else {
|
||||
rb_hash_foreach(hash, rb_hash_update_i, self);
|
||||
rb_hash_foreach(hash, rb_hash_update_i, self);
|
||||
}
|
||||
}
|
||||
return self;
|
||||
|
Loading…
x
Reference in New Issue
Block a user