We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0f9d2c1 + 37e3a79 commit 0ac59a5Copy full SHA for 0ac59a5
stdlib/public/core/CollectionAlgorithms.swift.gyb
@@ -99,9 +99,9 @@ partitionDocComment = """\
99
/// Re-order the given `range` of elements in `self` and return
100
/// a pivot index *p*.
101
///
102
- /// - Postcondition: For all *i* in `range.startIndex..<`\ *p*, and *j*
103
- /// in *p*\ `..<range.endIndex`, `less(self[`\ *i*\ `],
104
- /// self[`\ *j*\ `]) && !less(self[`\ *j*\ `], self[`\ *p*\ `])`.
+ /// - Postcondition: For all *i* in `range.startIndex..<`*p*, and *j*
+ /// in *p*`..<range.endIndex`, `less(self[`*i*`],
+ /// self[`*j*`]) && !less(self[`*j*`], self[`*p*`])`.
105
/// Only returns `range.endIndex` when `self` is empty."""
106
107
orderingRequirementForPredicate = """\
0 commit comments