Implement advance_by, advance_back_by for slice::{Iter, IterMut}#77633
Implement advance_by, advance_back_by for slice::{Iter, IterMut}#77633timvermeulen wants to merge 3 commits intorust-lang:masterfrom
Conversation
|
(rust_highfive has picked a reviewer for you, use r? to override) |
|
@bors try |
|
Awaiting bors try build completion |
|
⌛ Trying commit 3f22d0d with merge e64db831273cd38b9834dbdc2be0b6dd02f22f70... |
|
☀️ Try build successful - checks-actions, checks-azure |
|
Queued e64db831273cd38b9834dbdc2be0b6dd02f22f70 with parent 98edd1f, future comparison URL. |
|
We'll see what perf says, but honestly I'd recommend leaving the specific |
|
Finished benchmarking try commit (e64db831273cd38b9834dbdc2be0b6dd02f22f70): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
Co-authored-by: Ivan Tham <pickfire@riseup.net>
|
@scottmcm I'm totally happy to have it either way, I know how picky |
|
Triage: What's the status on this? |
|
@timvermeulen Ping from Triage: What's the status on this? |
|
r? @KodrAus |
|
r? @m-ou-se |
Adding an implementation for (Or if you change the PR to only add |
|
@timvermeulen Ping again from Triage: Can you please post the status on this? |
|
I'm closing this as inactive. If you like, you can reopen this MR and continue. |
…tmcm
Implement advance_by, advance_back_by for slice::{Iter, IterMut}
Part of rust-lang#77404.
Picking up where rust-lang#77633 was closed.
I have addressed rust-lang#77633 (comment) by restoring `nth` and `nth_back`. So according to that comment this should already be r=m-ou-se, but it has been sitting for a while.
Part of #77404.
Would be nice if we can get away with getting rid of
nth[_back]altogether, but if not, we can keepnthandadvance_byalongside each other.Also see #76909 (comment).
cc @ecstatic-morse @scottmcm