Skip to content

Commit

Permalink
Remove sort(AbstractVector)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Holters <martin.holters@hsu-hh.de>
  • Loading branch information
mtfishman and martinholters authored Aug 1, 2023
1 parent dc7d33a commit 38ed62b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,6 @@ if VERSION < v"1.10.0-DEV.1404"
size == IsInfinite() && throw(ArgumentError("infinite iterator $v cannot be sorted"))
sort!(copymutable(v); kws...)
end
sort(v::AbstractVector; kws...) = sort!(copymutable(v); kws...) # for method disambiguation
Base.sort(::AbstractString; kws...) =
throw(ArgumentError("sort(::AbstractString) is not supported"))
Base.sort(::Tuple; kws...) =
Expand Down

0 comments on commit 38ed62b

Please sign in to comment.