diff options
| author | bors <bors@rust-lang.org> | 2018-10-18 12:47:31 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-10-18 12:47:31 +0000 |
| commit | 121320d5236b255049ef178669b5a279389cd1e5 (patch) | |
| tree | 601416f1b22b1bd4ad8aaa6a3310812164ddf4f7 /src/rustllvm/RustWrapper.cpp | |
| parent | 40123a1257f7645bee1c6d3b6eb8c2f6eebd206c (diff) | |
| parent | 80a8e5c1f767384d0736807f33f5e435a748cf4c (diff) | |
| download | rust-121320d5236b255049ef178669b5a279389cd1e5.tar.gz rust-121320d5236b255049ef178669b5a279389cd1e5.zip | |
Auto merge of #54580 - sdroege:rchunks, r=SimonSapin
Add slice::rchunks(), rchunks_mut(), rchunks_exact() and rchunks_exact_mut() These work exactly like the normal chunks iterators but start creating chunks from the end of the slice. ---- The new iterators were motivated by a [comment](https://github.com/rust-lang/rust/issues/47115#issuecomment-424141121) by @DutchGhost. ~~~This currently includes the commits from https://github.com/rust-lang/rust/pull/54537 to not have to rename things twice or have merge conflicts. I'll force-push a new version of the branch ones those are in master.~~~ Also the stabilization tracking issue is just some number right now. I'll create the corresponding issue once this is reviewed and otherwise mergeable. cc @DutchGhost
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
