mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* string.c (rb_str_update): don't return any value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f7d46c8860
commit
3e16f5a3f0
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Dec 25 22:29:53 2003 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_update): don't return any value.
|
||||
|
||||
Thu Dec 25 15:30:17 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_update): call rb_str_modify().
|
||||
|
|
2
string.c
2
string.c
|
@ -1631,7 +1631,7 @@ rb_str_update(str, beg, len, val)
|
|||
VALUE val;
|
||||
{
|
||||
rb_str_modify(str);
|
||||
return rb_str_splice(str, beg, len, val);
|
||||
rb_str_splice(str, beg, len, val);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue