From eaa80a6fa500545e9400d78b34e3a7539e9bde5b Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 11 Dec 2014 23:16:03 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ io.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a4c99757c0..997629049b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Dec 12 08:16:01 2014 Matt Hoyle + + * io.c (io_read) Fix spelling in docco for read. [Fix GH-781] + try > tries + Thu Dec 11 19:06:01 2014 Koichi Sasada * class.c (class_alloc): Start from age == 2. 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) * length must be a non-negative integer or nil. * * If length is a positive integer, - * it try to read length bytes without any conversion (binary mode). + * it tries to read length bytes without any conversion (binary mode). * It returns nil or a string whose length is 1 to length bytes. * nil means it met EOF at beginning. * The 1 to length-1 bytes string means it met EOF after reading the result.