Skip to content

Commit

Permalink
Merge pull request #7113 from bmkessler/pivotpartition_typo
Browse files Browse the repository at this point in the history
std.algorithm.sorting: fix typo in pivotPartition
merged-on-behalf-of: Nicholas Wilson <[email protected]>
  • Loading branch information
dlang-bot authored Jul 22, 2019
2 parents 4cfe9db + 8a78157 commit 70d8611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/algorithm/sorting.d
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ less = The predicate used for comparison, modeled as a
equivalence)
r = The range being partitioned
pivot = The index of the pivot for partitioning, must be less than `r.length` or
`0` is `r.length` is `0`
`0` if `r.length` is `0`
Returns:
The new position of the pivot
Expand Down

0 comments on commit 70d8611

Please sign in to comment.