diff options
| author | kennytm <kennytm@gmail.com> | 2017-12-26 15:18:55 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-26 15:18:55 +0800 |
| commit | ba3997237807446b628efee112589040dda39e84 (patch) | |
| tree | 2c6c2246605a51580ac06834b2c4c4dc1d2439a9 /src/liballoc | |
| parent | a4a3de6ba264576c013a99b48a7b47cda94df309 (diff) | |
| parent | 8a956e44a86f191224d5c3cd57c884f6a3cc1cb9 (diff) | |
| download | rust-ba3997237807446b628efee112589040dda39e84.tar.gz rust-ba3997237807446b628efee112589040dda39e84.zip | |
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.
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 |
