Skip to content

Commit 2802807

Browse files
authored
add cross-ref from readlines to eachline (#42228)
1 parent 4805d54 commit 2802807

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

base/io.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,8 @@ end
548548
549549
Read all lines of an I/O stream or a file as a vector of strings. Behavior is
550550
equivalent to saving the result of reading [`readline`](@ref) repeatedly with the same
551-
arguments and saving the resulting lines as a vector of strings.
551+
arguments and saving the resulting lines as a vector of strings. See also
552+
[`eachline`](@ref) to iterate over the lines without reading them all at once.
552553
553554
# Examples
554555
```jldoctest

0 commit comments

Comments
 (0)