about summary refs log tree commit diff
path: root/src/libcore/slice/mod.rs
diff options
context:
space:
mode:
authorVillSnow <vill.snow@gmail.com>2020-06-28 21:31:05 +0900
committerGitHub <noreply@github.com>2020-06-28 21:31:05 +0900
commit6f8ad3b20858c6c63c2098e690fddf0f33a80d2b (patch)
tree98a01f665fa67a40270a82898dd0fbab77f42f64 /src/libcore/slice/mod.rs
parent60f2ba24031b52d3363e180dd7ad1c07608c6917 (diff)
downloadrust-6f8ad3b20858c6c63c2098e690fddf0f33a80d2b.tar.gz
rust-6f8ad3b20858c6c63c2098e690fddf0f33a80d2b.zip
Update src/libcore/slice/mod.rs
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
Diffstat (limited to 'src/libcore/slice/mod.rs')
-rw-r--r--src/libcore/slice/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/slice/mod.rs b/src/libcore/slice/mod.rs
index 07b45640a52..e7c8f5c88cd 100644
--- a/src/libcore/slice/mod.rs
+++ b/src/libcore/slice/mod.rs
@@ -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