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:
commit
ba39972378
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue