Skip to content

Commit

Permalink
Delete used IOBuffers constant (#1146)
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash authored Feb 15, 2024
1 parent 8f9eb57 commit 7801db8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/clientlayers/StreamRequest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,6 @@ function readbody(stream::Stream, res::Response, decompress::Union{Nothing, Bool
end
end

# 2 most common types of IOBuffers
const IOBuffers = Union{IOBuffer, Base.GenericIOBuffer{SubArray{UInt8, 1, Vector{UInt8}, Tuple{UnitRange{Int64}}, true}}}

function readbody!(stream::Stream, res::Response, buf_or_stream, lock)
n = 0
if !iserror(res)
Expand Down

0 comments on commit 7801db8

Please sign in to comment.