Rollup merge of #46930 - lucis-fluxum:patch-1, r=QuietMisdreavus

Clarify docs for split_at_mut

The `&mut` here didn't make immediate sense to me. Keep the docs for this function consistent with the non-mut version.
This commit is contained in:
kennytm 2017-12-26 15:18:55 +08:00 committed by GitHub
commit ba39972378

View file

@ -699,7 +699,7 @@ impl<T> [T] {
core_slice::SliceExt::split_at(self, mid)
}
/// Divides one `&mut` into two at an index.
/// Divides one mutable slice into two at an index.
///
/// The first will contain all indices from `[0, mid)` (excluding
/// the index `mid` itself) and the second will contain all