1
Fork 0

Update src/libcore/slice/mod.rs

Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
This commit is contained in:
VillSnow 2020-06-28 21:31:05 +09:00 committed by GitHub
parent 60f2ba2403
commit 6f8ad3b208
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2665,7 +2665,7 @@ impl<T> [T] {
} }
/// Returns the index of the partition point according to the given predicate /// 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. /// 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 /// This means that all elements for which the predicate returns true are at the start of the slice