Skip to content

Commit

Permalink
Remove unused ByteArray
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobnissen committed Jun 4, 2024
1 parent fbef9b0 commit 3268012
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions base/strings/search.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ const DenseBytes = Union{
CodeUnits{UInt8, <:Union{String, SubString{String}}},
}

const ByteArray = Union{DenseBytes, DenseArrayType{Int8}}

function findfirst(pred::Fix2{<:Union{typeof(isequal),typeof(==)},<:Union{UInt8, Int8}}, a::Union{DenseInt8, DenseUInt8})
findnext(pred, a, firstindex(a))
end
Expand Down

0 comments on commit 3268012

Please sign in to comment.