Format panic docs for split_at

Fixes #28384
This commit is contained in:
Steve Klabnik 2015-09-30 12:42:47 -04:00
parent 3e6d7243ae
commit d310ad9547

View File

@ -455,6 +455,8 @@ impl<T> [T] {
/// the index `mid` itself) and the second will contain all
/// indices from `[mid, len)` (excluding the index `len` itself).
///
/// # Panics
///
/// Panics if `mid > len`.
///
/// # Examples