Skip to content

Commit 1a86858

Browse files
authored
Merge pull request #49 from tk3369/tk/julia1.0
julia 1.0 deprecated the contains function
2 parents d8ab330 + 4eaa88b commit 1a86858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ end
3636
"""
3737
Find needle in the haystack with both `Vector{UInt8}` type arguments.
3838
"""
39-
function Base.contains(haystack::AbstractVector{UInt8}, needle::AbstractVector{UInt8})
39+
function contains(haystack::AbstractVector{UInt8}, needle::AbstractVector{UInt8})
4040
hlen = length(haystack)
4141
nlen = length(needle)
4242
if hlen >= nlen

0 commit comments

Comments
 (0)