aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 23ea18f4db..c04375d814 100644
--- a/io.c
+++ b/io.c
@@ -2098,7 +2098,7 @@ rb_io_write_nonblock(VALUE io, VALUE str)
* The <i>length</i> bytes string means it doesn't meet EOF.
*
* If <i>length</i> is omitted or is <code>nil</code>,
- * it reads until EOF.
+ * it reads until EOF and the encoding conversion is applied.
* It returns a string even if EOF is met at beginning.
*
* If <i>length</i> is zero, it returns <code>""</code>.