aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index 0305386507..c546edfbbf 100644
--- a/io.c
+++ b/io.c
@@ -3292,8 +3292,8 @@ rb_io_gets(VALUE io)
* File.new("testfile").gets #=> "This is line one\n"
* $_ #=> "This is line one\n"
*
- * If StringIO contains characters more than 1 byte
- * then <code>gets(1)</code> returns character entirely:
+ * If IO contains multibyte characters byte then <code>gets(1)</code>
+ * returns character entirely:
*
* # russian characters take 2 bytes
* File.write("testfile", "\u{442 435 441 442}")