From 4a8572fc6d66b72cbf799d576943d9ea532c7ed9 Mon Sep 17 00:00:00 2001 From: Iblis Lin Date: Wed, 2 Jun 2021 02:02:32 +0800 Subject: [PATCH] Fix typo in docstring of `issorted` (#41042) --- base/sort.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/sort.jl b/base/sort.jl index 0946eec516ef7..6cdb0048274fc 100644 --- a/base/sort.jl +++ b/base/sort.jl @@ -68,7 +68,7 @@ function issorted(itr, order::Ordering) end """ - issorted(v, lt=isless, by=identity, rev:Bool=false, order::Ordering=Forward) + issorted(v, lt=isless, by=identity, rev::Bool=false, order::Ordering=Forward) Test whether a vector is in sorted order. The `lt`, `by` and `rev` keywords modify what order is considered to be sorted just as they do for [`sort`](@ref).