Skip to content

Commit

Permalink
Remove deprecated color(::AbstractString)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimikage committed Jun 4, 2021
1 parent c28d392 commit 243baa3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/parse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,3 @@ macro colorant_str(ex)
col = parse(Colorant, ex)
:($col)
end

@noinline function ColorTypes.color(str::AbstractString)
Base.depwarn("color(\"$str\") is deprecated, use colorant\"$str\" or parse(Colorant, \"$str\")", :color)
parse(Colorant, str)
end

0 comments on commit 243baa3

Please sign in to comment.