Skip to content

Commit

Permalink
Update src/libcore/slice/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Amanieu d'Antras <[email protected]>
  • Loading branch information
VillSnow and Amanieu authored Jun 28, 2020
1 parent 60f2ba2 commit 6f8ad3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2665,7 +2665,7 @@ impl<T> [T] {
}

/// Returns the index of the partition point according to the given predicate
// (the index of the first element of the second partition).
/// (the index of the first element of the second partition).
///
/// The slice is assumed to be partitioned according to the given predicate.
/// This means that all elements for which the predicate returns true are at the start of the slice
Expand Down

0 comments on commit 6f8ad3b

Please sign in to comment.