diff options
author | Peter Zhu <peter@peterzhu.ca> | 2022-09-16 09:47:32 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2022-09-16 09:47:32 -0400 |
commit | 64200990c4425ad3d104d4695dbe9cb3356555cd (patch) | |
tree | c5e810e4888ae09c2b3796a8ef6feb675fe7e8c2 /io.c | |
parent | 5b735d0bebe0d6187780d1c2ddea0b0861b15df4 (diff) | |
download | ruby-64200990c4425ad3d104d4695dbe9cb3356555cd.tar.gz |
[ci skip] Fix typos in documentation in io.c
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4056,7 +4056,7 @@ rb_io_gets_internal(VALUE io) * * With only integer argument +limit+ given, * limits the number of bytes in the line; - * see {Line Limit}}[rdoc-ref:IO@Line+Limit]: + * see {Line Limit}[rdoc-ref:IO@Line+Limit]: * * # No more than one line. * File.open('t.txt') {|f| f.gets(10) } # => "First line" @@ -4313,7 +4313,7 @@ io_readlines(const struct getline_arg *arg, VALUE io) * * With only integer argument +limit+ given, * limits the number of bytes in each line; - * see {Line Limit}}[rdoc-ref:IO@Line+Limit]: + * see {Line Limit}[rdoc-ref:IO@Line+Limit]: * * f = File.new('t.txt') * f.each_line(8) {|line| p line } |