[前][次][番号順一覧][スレッド一覧]

ruby-changes:73583

From: Peter <ko1@a...>
Date: Fri, 16 Sep 2022 22:48:02 +0900 (JST)
Subject: [ruby-changes:73583] 64200990c4 (master): [ci skip] Fix typos in documentation in io.c

https://git.ruby-lang.org/ruby.git/commit/?id=64200990c4

From 64200990c4425ad3d104d4695dbe9cb3356555cd Mon Sep 17 00:00:00 2001
From: Peter Zhu <peter@p...>
Date: Fri, 16 Sep 2022 09:47:32 -0400
Subject: [ci skip] Fix typos in documentation in io.c

---
 io.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/io.c b/io.c
index 675c0ad3c2..494e40bcd9 100644
--- a/io.c
+++ b/io.c
@@ -4056,7 +4056,7 @@ rb_io_gets_internal(VALUE io) https://github.com/ruby/ruby/blob/trunk/io.c#L4056
  *
  *  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) https://github.com/ruby/ruby/blob/trunk/io.c#L4313
  *
  *  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 }
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]