about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVillSnow <vill.snow@gmail.com>2020-06-22 21:35:09 +0900
committerVillSnow <vill.snow@gmail.com>2020-06-22 21:35:09 +0900
commit27b06f10dc01319c449d0f8c04218136431938c8 (patch)
tree9b9d46e268611e3e25cf439cce3ca4002217cfe5
parentc9b49157057a83a97801f9e726ed8051fb1d2231 (diff)
downloadrust-27b06f10dc01319c449d0f8c04218136431938c8.tar.gz
rust-27b06f10dc01319c449d0f8c04218136431938c8.zip
update: doc comment
-rw-r--r--src/libcore/slice/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libcore/slice/mod.rs b/src/libcore/slice/mod.rs
index 13e5ef9ec6f..a07690bc669 100644
--- a/src/libcore/slice/mod.rs
+++ b/src/libcore/slice/mod.rs
@@ -2668,7 +2668,9 @@ impl<T> [T] {
     /// such that all those that return true precede the index and
     /// such that all those that return false succeed the index.
     ///
-    /// 'self' must be partitioned.
+    /// The slice must be partitioned
+    /// so that all elements where the predicate returns true
+    /// precede the elements where the predicate returns false.
     ///
     /// # Examples
     ///