From d6c68a851a976126e798d9b4601ffa4d25985002 Mon Sep 17 00:00:00 2001 From: Lilith Orion Hafner Date: Fri, 10 Jan 2025 08:06:49 -0600 Subject: [PATCH] Switch from `->` to `::` Co-authored-by: Neven Sajko <4944410+nsajko@users.noreply.github.com> --- base/sort.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/sort.jl b/base/sort.jl index 6f11d2c3b644e..64d2d76080f9f 100644 --- a/base/sort.jl +++ b/base/sort.jl @@ -1740,7 +1740,7 @@ end """ sort(v; alg::Base.Sort.Algorithm=Base.Sort.defalg(v), lt=isless, by=identity, rev::Bool=false, order::Base.Order.Ordering=Base.Order.Forward) - sort(v::NTuple; kws...) -> NTuple + sort(v::NTuple; kws...)::NTuple Variant of [`sort!`](@ref) that returns a sorted copy of `v` leaving `v` itself unmodified.