Skip to content

Commit

Permalink
Fix wording of sorted partition condition
Browse files Browse the repository at this point in the history
Co-authored-by: Lilith Orion Hafner <lilithhafner@gmail.com>
  • Loading branch information
knuesel and LilithHafner committed Jan 25, 2023
1 parent 411df38 commit 56bc252
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 @@ -301,7 +301,7 @@ equivalent to `x` (see below for the definition of equivalence).
The range is found using binary search. The vector `v` must be sorted, or at
least partitioned with respect to `x` such that all values that sort before `x`
come first and all values that sort after `x` come last.
are before `x` and all values that sort after `x` are after `x`.
The `by`, `lt` and `rev` keywords modify what order is assumed for the data,
as described in the [`sort!`](@ref) documentation.
Expand Down

0 comments on commit 56bc252

Please sign in to comment.