summaryrefslogtreecommitdiff
path: root/ext/io/wait
diff options
context:
space:
mode:
Diffstat (limited to 'ext/io/wait')
-rw-r--r--ext/io/wait/wait.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/io/wait/wait.c b/ext/io/wait/wait.c
index 2a4a10306a1..d166962332b 100644
--- a/ext/io/wait/wait.c
+++ b/ext/io/wait/wait.c
@@ -151,8 +151,8 @@ io_wait_readable(int argc, VALUE *argv, VALUE io)
* io.wait_writable -> IO
* io.wait_writable(timeout) -> IO or nil
*
- * Waits until IO writable is available or times out and returns self or
- * nil when EOF is reached.
+ * Waits until IO is writable without blocking and returns +self+ or
+ * +nil+ when times out.
*/
static VALUE
io_wait_writable(int argc, VALUE *argv, VALUE io)