Skip to content

Commit 089e617

Browse files
committed
Rollup merge of rust-lang#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.
2 parents 26d7471 + 8a956e4 commit 089e617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/slice.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ impl<T> [T] {
699699
core_slice::SliceExt::split_at(self, mid)
700700
}
701701

702-
/// Divides one `&mut` into two at an index.
702+
/// Divides one mutable slice into two at an index.
703703
///
704704
/// The first will contain all indices from `[0, mid)` (excluding
705705
/// the index `mid` itself) and the second will contain all

0 commit comments

Comments
 (0)