Skip to content

Commit

Permalink
remove an inline macro from a big function
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored and quinnj committed Sep 8, 2021
1 parent cfcc595 commit 9666a9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parsemultipart.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ end
Find the first and last index of the next boundary delimiting a part, and if
the discovered boundary is the terminating boundary.
"""
@inline function find_multipart_boundary(bytes::AbstractVector{UInt8}, boundaryDelimiter::AbstractVector{UInt8}; start::Int=1)
function find_multipart_boundary(bytes::AbstractVector{UInt8}, boundaryDelimiter::AbstractVector{UInt8}; start::Int=1)
# The boundary delimiter line is prepended with two '-' characters
# The boundary delimiter line starts on a new line, so must be preceded by a \r\n.
# The boundary delimiter line ends with \r\n, and can have "optional linear whitespace" between
Expand Down Expand Up @@ -253,4 +253,4 @@ function __init__()
return
end

end # module MultiPartParsing
end # module MultiPartParsing

0 comments on commit 9666a9a

Please sign in to comment.