Skip to content

Commit

Permalink
Fix deprecated Varargs syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottPJones committed Oct 25, 2023
1 parent e17d2f5 commit 5857e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ rpad(ch::Chr, cnt::Integer, pad::AbstractChar=' ') =
(cnt -= 1) <= 0 ? string(ch) : string(ch, pad^cnt)

const SetOfChars =
Union{Tuple{Vararg{<:AbstractChar}},AbstractVector{<:AbstractChar},Set{<:AbstractChar}}
Union{Tuple{Vararg{AbstractChar}},AbstractVector{<:AbstractChar},Set{<:AbstractChar}}

function __split(str, splitter, limit::Integer, keep_empty::Bool, strs::Vector)
pos = 1
Expand Down

0 comments on commit 5857e5a

Please sign in to comment.