summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 106e0420a8..495cde9b34 100644
--- a/string.c
+++ b/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