Skip to content

Commit 2f66204

Browse files
authored
Revert "Fix invalidations for FileIO (#55593)"
This reverts commit 68feddc.
1 parent 68feddc commit 2f66204

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

base/strings/io.jl

+1-2
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,7 @@ function _join_preserve_annotations(iterator, args...)
365365
# in nature, we extract an `AnnotatedString`, otherwise we just extract
366366
# a plain `String` from `io`.
367367
if isconcretetype(et) || !isempty(io.annotations)
368-
seekstart(io)
369-
read(io, AnnotatedString{String})
368+
read(seekstart(io), AnnotatedString{String})
370369
else
371370
String(take!(io.io))
372371
end

0 commit comments

Comments
 (0)