diff options
| author | Luc Street <lucis-fluxum@users.noreply.github.com> | 2017-12-21 15:22:36 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-21 15:22:36 -0800 |
| commit | 8a956e44a86f191224d5c3cd57c884f6a3cc1cb9 (patch) | |
| tree | 2e780b6fd9ff1bf898360cc2c394c8957d0c0e97 /src/liballoc | |
| parent | 250b492052e94d76bd318a4b932159395da55981 (diff) | |
| download | rust-8a956e44a86f191224d5c3cd57c884f6a3cc1cb9.tar.gz rust-8a956e44a86f191224d5c3cd57c884f6a3cc1cb9.zip | |
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.
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/slice.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs index 18bb13d847a..ab574c9f7e7 100644 --- a/src/liballoc/slice.rs +++ b/src/liballoc/slice.rs @@ -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 |
