diff options
| author | kennytm <kennytm@gmail.com> | 2018-12-07 12:42:36 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-07 12:42:36 +0800 |
| commit | a40aa45980f45e26a227a889a69b54bcfcd68eba (patch) | |
| tree | d2971733e01bf072f1f3954c2644af26e7d2437b /src | |
| parent | 06f3b57633aae7bbdbd3106d144eba5d0b6aee1b (diff) | |
| parent | b6d3668c42e2a333fd897e11772a3b95961550c9 (diff) | |
| download | rust-a40aa45980f45e26a227a889a69b54bcfcd68eba.tar.gz rust-a40aa45980f45e26a227a889a69b54bcfcd68eba.zip | |
Rollup merge of #56574 - cbarrick:master, r=varkor
Fix a stutter in the docs for slice::exact_chunks Before this change, the docs for `slice::exact_chunks` reads like this: > See `chunks` for a variant of this iterator that also returns the remainder as a smaller chunk, and `rchunks_exact` for the same iterator but starting at the end of the slice of the slice. Notice that stutter at the end? This commit fixes it.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/slice/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/slice/mod.rs b/src/libcore/slice/mod.rs index 8c55a16f3c8..5b57dcabb8d 100644 --- a/src/libcore/slice/mod.rs +++ b/src/libcore/slice/mod.rs @@ -702,8 +702,7 @@ impl<T> [T] { /// resulting code better than in the case of [`chunks`]. /// /// See [`chunks`] for a variant of this iterator that also returns the remainder as a smaller - /// chunk, and [`rchunks_exact`] for the same iterator but starting at the end of the slice of - /// the slice. + /// chunk, and [`rchunks_exact`] for the same iterator but starting at the end of the slice. /// /// # Panics /// |
