Skip to content

Commit

Permalink
Merge pull request #49 from tk3369/tk/julia1.0
Browse files Browse the repository at this point in the history
julia 1.0 deprecated the contains function
  • Loading branch information
tk3369 committed Aug 10, 2018
2 parents d8ab330 + 4eaa88b commit 1a86858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Expand Up @@ -36,7 +36,7 @@ end
"""
Find needle in the haystack with both `Vector{UInt8}` type arguments.
"""
function Base.contains(haystack::AbstractVector{UInt8}, needle::AbstractVector{UInt8})
function contains(haystack::AbstractVector{UInt8}, needle::AbstractVector{UInt8})
hlen = length(haystack)
nlen = length(needle)
if hlen >= nlen
Expand Down

0 comments on commit 1a86858

Please sign in to comment.