aboutsummaryrefslogtreecommitdiffstats
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 d53c3b4f34..dd4e3674b0 100644
--- a/string.c
+++ b/string.c
@@ -4111,7 +4111,7 @@ str_byte_aref(VALUE str, VALUE indx)
* "hello".byteslice(-1) #=> "o"
* "hello".byteslice(1, 2) #=> "el"
* "\x80\u3042".byteslice(1, 3) #=> "\u3042"
- * "\x03\u3042\xff".byteslice(1..3) #=> "\u3942"
+ * "\x03\u3042\xff".byteslice(1..3) #=> "\u3042"
*/
static VALUE