Skip to content

Commit 56bc252

Browse files
Fix wording of sorted partition condition
Co-authored-by: Lilith Orion Hafner <lilithhafner@gmail.com>
1 parent 411df38 commit 56bc252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/sort.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ equivalent to `x` (see below for the definition of equivalence).
301301
302302
The range is found using binary search. The vector `v` must be sorted, or at
303303
least partitioned with respect to `x` such that all values that sort before `x`
304-
come first and all values that sort after `x` come last.
304+
are before `x` and all values that sort after `x` are after `x`.
305305
306306
The `by`, `lt` and `rev` keywords modify what order is assumed for the data,
307307
as described in the [`sort!`](@ref) documentation.

0 commit comments

Comments
 (0)