diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-14 11:38:29 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-14 11:38:29 +0000 |
commit | f1d1363c7ef0b8ebe2d7b717f6a5a3168c966475 (patch) | |
tree | c3dca2b3ece0e1afa58374e55a0ed1f83acd1e2a /string.c | |
parent | ffc1c9878c8da4273ef412c3bc61e770e0d75799 (diff) | |
download | ruby-f1d1363c7ef0b8ebe2d7b717f6a5a3168c966475.tar.gz ruby-f1d1363c7ef0b8ebe2d7b717f6a5a3168c966475.tar.xz ruby-f1d1363c7ef0b8ebe2d7b717f6a5a3168c966475.zip |
* string.c: fixed typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2151,7 +2151,7 @@ rb_str_clear(VALUE str) FL_UNSET(str, STR_NOCAPA); FL_SET(str, ELTS_SHARED); RSTRING(str)->ptr = null_str; - RARRAY(str)->len = 0; + RSTRING(str)->len = 0; return str; } |