From 18b5a95f3232d5241948280b6503b62839517676 Mon Sep 17 00:00:00 2001 From: Nathan Zimmerberg <39104088+nhz2@users.noreply.github.com> Date: Sun, 1 Sep 2024 21:38:10 -0400 Subject: [PATCH] Fix comment (#76) --- src/writer.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/writer.jl b/src/writer.jl index 0a51aa1..1b6ab75 100644 --- a/src/writer.jl +++ b/src/writer.jl @@ -273,7 +273,7 @@ Base.write(w::ZipWriter, x::UInt8) = write(w, Ref(x)) # WriteOffsetTracker Base.isopen(w::WriteOffsetTracker) = !w.bad -Base.close(w::WriteOffsetTracker) = nothing # this should never be called +Base.close(w::WriteOffsetTracker) = nothing # this protects the underlying stream from being closed by TranscodingStreams Base.isreadable(w::WriteOffsetTracker) = false Base.write(w::WriteOffsetTracker, x::UInt8) = write(w, Ref(x)) @@ -745,4 +745,4 @@ function write_footer( after_write_offset = io.offset @argcheck after_write_offset == tailsize + end_of_central_dir tailsize + size_of_central_dir -end \ No newline at end of file +end