mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* hash.c (each_i): typo fixed. [ruby-dev:26622]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
727e443c4b
commit
cb8f27017e
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Jul 28 17:14:01 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* hash.c (each_i): typo fixed. [ruby-dev:26622]
|
||||||
|
|
||||||
Thu Jul 28 15:04:11 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Thu Jul 28 15:04:11 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* parse.y (f_arg): better argument name duplication check
|
* parse.y (f_arg): better argument name duplication check
|
||||||
|
|
2
hash.c
2
hash.c
|
@ -1086,7 +1086,7 @@ each_i(key, value)
|
||||||
VALUE key, value;
|
VALUE key, value;
|
||||||
{
|
{
|
||||||
if (key == Qundef) return ST_CONTINUE;
|
if (key == Qundef) return ST_CONTINUE;
|
||||||
rb_yield(rb_assoc(key, value));
|
rb_yield(rb_assoc_new(key, value));
|
||||||
return ST_CONTINUE;
|
return ST_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue