diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-05-29 08:15:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-29 08:15:51 +0200 |
| commit | 23b9b8320b97adbd3c7c3c3b939d5d162801d9c0 (patch) | |
| tree | 3a940440fd604d12df0eec8aded5bbf5054516ea /src/test/ui/thinlto | |
| parent | 61545b697568a9e590e89585961b5f78b3a7df53 (diff) | |
| parent | 5eb0e08d0feab69f9e5f3b6881bde328a9105c96 (diff) | |
| download | rust-23b9b8320b97adbd3c7c3c3b939d5d162801d9c0.tar.gz rust-23b9b8320b97adbd3c7c3c3b939d5d162801d9c0.zip | |
Rollup merge of #60555 - timvermeulen:rchunks_nth_back, r=scottmcm
Implement nth_back for RChunks(Exact)(Mut) Part of #54054. These implementations may not be optimal because of the use of `self.len()`, but it's quite cheap and simplifies the code a lot. There's quite some duplication going on here, I wouldn't mind cleaning this up later. A good next step would probably be to add private `split_off_up_to`/`split_off_from` helper methods for slices since their behavior is commonly useful throughout the `Chunks` types. r? @scottmcm
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
