We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ff8dc3 commit e4cca54Copy full SHA for e4cca54
core/src/slice/mod.rs
@@ -3140,9 +3140,9 @@ impl<T> [T] {
3140
///
3141
/// Returns a triple partitioning the reordered slice:
3142
3143
- /// * The unsorted subslice before `index` (elements all pass `compare(x, self[index]).is_le()`)
3144
- /// * The element at `index`
3145
- /// * The unsorted subslice after `index` (elements all pass `compare(x, self[index]).is_ge()`)
+ /// * The unsorted subslice before `index`, whose elements all satisfy `compare(x, self[index]).is_le()`.
+ /// * The element at `index`.
+ /// * The unsorted subslice after `index`, whose elements all satisfy `compare(x, self[index]).is_ge()`.
3146
3147
/// # Current implementation
3148
0 commit comments