diff --git a/io.c b/io.c index e5f3aef95d..3211146e82 100644 --- a/io.c +++ b/io.c @@ -9310,7 +9310,7 @@ rb_io_advise(int argc, VALUE *argv, VALUE io) * So, the remote side of SSL sends a partial record, * IO.select notifies readability but * OpenSSL::SSL::SSLSocket cannot decrypt a byte and - * OpenSSL::SSL::SSLSocket#readpartial will blocks. + * OpenSSL::SSL::SSLSocket#readpartial will block. * * Also, the remote side can request SSL renegotiation which forces * the local SSL engine to write some data. @@ -9333,7 +9333,7 @@ rb_io_advise(int argc, VALUE *argv, VALUE io) * However it is not the best way to use IO.select. * * The writability notified by select(2) doesn't show - * how many bytes writable. + * how many bytes are writable. * IO#write method blocks until given whole string is written. * So, IO#write(two or more bytes) can block after writability is notified by IO.select. * IO#write_nonblock is required to avoid the blocking.