Skip to content

Commit a88586b

Browse files
committed
Rollup merge of rust-lang#28757 - steveklabnik:gh28384, r=alexcrichton
Fixes rust-lang#28384
2 parents 37d291e + d310ad9 commit a88586b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcollections/slice.rs

+2
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,8 @@ impl<T> [T] {
455455
/// the index `mid` itself) and the second will contain all
456456
/// indices from `[mid, len)` (excluding the index `len` itself).
457457
///
458+
/// # Panics
459+
///
458460
/// Panics if `mid > len`.
459461
///
460462
/// # Examples

0 commit comments

Comments
 (0)