Skip to content

Commit

Permalink
Update src/deprecations.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Chen <[email protected]>
  • Loading branch information
CarloLucibello and ToucheSir authored Dec 30, 2023
1 parent 4e2f2f1 commit 2592bad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deprecations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
# Deprecated in v0.3
import Base: rpad
@deprecate rpad(v::AbstractVector, n::Integer, p) rpad_constant(v, n, p)
@deprecate rpad(v::AbstractVector, n::Integer, p::Union{AbstractChar, AbstractString}) = rpad_constant(v, n, p)
@deprecate rpad(v::AbstractVector, n::Integer, p::Union{AbstractChar, AbstractString}) = rpad_constant(v, n, p)

0 comments on commit 2592bad

Please sign in to comment.