We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68feddc commit 2f66204Copy full SHA for 2f66204
base/strings/io.jl
@@ -365,8 +365,7 @@ function _join_preserve_annotations(iterator, args...)
365
# in nature, we extract an `AnnotatedString`, otherwise we just extract
366
# a plain `String` from `io`.
367
if isconcretetype(et) || !isempty(io.annotations)
368
- seekstart(io)
369
- read(io, AnnotatedString{String})
+ read(seekstart(io), AnnotatedString{String})
370
else
371
String(take!(io.io))
372
end
0 commit comments