aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-11 23:16:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-11 23:16:03 +0000
commiteaa80a6fa500545e9400d78b34e3a7539e9bde5b (patch)
treee49a5b05f74fafe294977b43a0f167b60e70fae6 /io.c
parenta88e787277589617341afdcf86998afd7ffb9f83 (diff)
downloadruby-eaa80a6fa500545e9400d78b34e3a7539e9bde5b.tar.gz
io.c: Fix spelling [ci skip]
* io.c (io_read) Fix spelling in docco for read. [Fix GH-781] try > tries git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index f91f23ae06..00c4ef722f 100644
--- a/io.c
+++ b/io.c
@@ -2805,7 +2805,7 @@ rb_io_write_nonblock(int argc, VALUE *argv, VALUE io)
* <i>length</i> must be a non-negative integer or <code>nil</code>.
*
* If <i>length</i> is a positive integer,
- * it try to read <i>length</i> bytes without any conversion (binary mode).
+ * it tries to read <i>length</i> bytes without any conversion (binary mode).
* It returns <code>nil</code> or a string whose length is 1 to <i>length</i> bytes.
* <code>nil</code> means it met EOF at beginning.
* The 1 to <i>length</i>-1 bytes string means it met EOF after reading the result.