* string.c: fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
14afb53073
commit
7621057054
2
string.c
2
string.c
@ -2151,7 +2151,7 @@ rb_str_clear(VALUE str)
|
|||||||
FL_UNSET(str, STR_NOCAPA);
|
FL_UNSET(str, STR_NOCAPA);
|
||||||
FL_SET(str, ELTS_SHARED);
|
FL_SET(str, ELTS_SHARED);
|
||||||
RSTRING(str)->ptr = null_str;
|
RSTRING(str)->ptr = null_str;
|
||||||
RARRAY(str)->len = 0;
|
RSTRING(str)->len = 0;
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user