mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* removed spaces just before tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f5202fdbc7
commit
4d786d21e3
15 changed files with 35 additions and 35 deletions
|
@ -664,7 +664,7 @@ rb_enc_associate_index(VALUE obj, int idx)
|
|||
{
|
||||
/* enc_check_capable(obj);*/
|
||||
if (rb_enc_get_index(obj) == idx)
|
||||
return obj;
|
||||
return obj;
|
||||
if (SPECIAL_CONST_P(obj)) {
|
||||
rb_raise(rb_eArgError, "cannot set encoding");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue