diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-19 07:54:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-19 07:54:53 +0000 |
commit | 92cef134b54fadb79e5d338a3aea1b51ff500386 (patch) | |
tree | 74fa29731fb05d9379855f24cf27d03562fa6006 /struct.c | |
parent | 7588c674d52791a15fa7631ba2628d6547ad1185 (diff) |
struct.c: fix typo
* struct.c (rb_struct_each_pair): fix typo. [Bug #7382]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'struct.c')
-rw-r--r-- | struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -497,7 +497,7 @@ rb_struct_each_pair(VALUE s) for (i=0; i<RSTRUCT_LEN(s); i++) { VALUE key = rb_ary_entry(members, i); VALUE value = RSTRUCT_PTR(s)[i]; - rb_yield(rb_assoc_new(key, vlaue)); + rb_yield(rb_assoc_new(key, value)); } return s; } |