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:
parent
250b492052
commit
8a956e44a8
@ -699,7 +699,7 @@ pub fn split_at(&self, mid: usize) -> (&[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
Block a user