Rollup merge of #28757 - steveklabnik:gh28384, r=alexcrichton

Fixes #28384
This commit is contained in:
Steve Klabnik 2015-09-30 14:51:54 -04:00
commit a88586b10f

View File

@ -455,6 +455,8 @@ pub fn chunks_mut(&mut self, chunk_size: usize) -> ChunksMut<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