summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-07-14 16:37:47 -0400
committerPeter Zhu <peter@peterzhu.ca>2022-07-14 16:37:47 -0400
commitc8748942f1f94cd1e06ed778f2ac7e2b0ab7728c (patch)
tree36fd7c1404edde7d3d8d5a140a4794b18202311a /io.c
parent4813443837d76e27eb293f1928bda7a47b9e8f3f (diff)
downloadruby-c8748942f1f94cd1e06ed778f2ac7e2b0ab7728c.tar.gz
[DOC] Fix typo in documentation for IO#readlines
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 fe0652f233..3275550643 100644
--- a/io.c
+++ b/io.c
@@ -4207,7 +4207,7 @@ static VALUE 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.readlines(8)