Skip to content

Commit 27b06f1

Browse files
committed
update: doc comment
1 parent c9b4915 commit 27b06f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libcore/slice/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2668,7 +2668,9 @@ impl<T> [T] {
26682668
/// such that all those that return true precede the index and
26692669
/// such that all those that return false succeed the index.
26702670
///
2671-
/// 'self' must be partitioned.
2671+
/// The slice must be partitioned
2672+
/// so that all elements where the predicate returns true
2673+
/// precede the elements where the predicate returns false.
26722674
///
26732675
/// # Examples
26742676
///

0 commit comments

Comments
 (0)