mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* expand tabs. [ci skip]
Tabs were expanded because the file did not have any tab indentation in unedited lines. Please update your editor config, and use misc/expand_tabs.rb in the pre-commit hook.
This commit is contained in:
parent
0a98dd1cff
commit
2dd1a037de
1 changed files with 2 additions and 2 deletions
4
re.c
4
re.c
|
@ -2405,7 +2405,7 @@ match_deconstruct_keys(VALUE match, VALUE keys)
|
|||
VALUE key = RARRAY_AREF(keys, i);
|
||||
VALUE name;
|
||||
|
||||
Check_Type(key, T_SYMBOL);
|
||||
Check_Type(key, T_SYMBOL);
|
||||
|
||||
name = rb_sym2str(key);
|
||||
|
||||
|
@ -2415,7 +2415,7 @@ match_deconstruct_keys(VALUE match, VALUE keys)
|
|||
if (num >= 0) {
|
||||
rb_hash_aset(h, key, rb_reg_nth_match(num, match));
|
||||
}
|
||||
else {
|
||||
else {
|
||||
return h;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue