summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-07 19:52:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-07 19:52:43 +0000
commitd9e00a7d001830d8f541ffafc3e104f62703cc2a (patch)
tree5b2eb1ad06c8195b171b4bec767b62dff5283904 /string.c
parenta21ac07f691c4eb51530b01d1b5572ba25747b88 (diff)
string.c: update rdoc of rb_str_slice_bang()
* string.c (rb_str_slice_bang): [DOC] update return value against a fixnum, which has changed because of M17N. [fix GH-631] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 15e6bcd623..0e589243af 100644
--- a/string.c
+++ b/string.c
@@ -3782,7 +3782,7 @@ rb_str_insert(VALUE str, VALUE idx, VALUE str2)
/*
* call-seq:
- * str.slice!(fixnum) -> fixnum or nil
+ * str.slice!(fixnum) -> new_str or nil
* str.slice!(fixnum, fixnum) -> new_str or nil
* str.slice!(range) -> new_str or nil
* str.slice!(regexp) -> new_str or nil