Skip to content

Commit

Permalink
Fix typo in docstring of issorted (#41042)
Browse files Browse the repository at this point in the history
  • Loading branch information
iblislin authored Jun 1, 2021
1 parent d1c2e09 commit 4a8572f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/sort.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 4a8572f

Please sign in to comment.