Skip to content

Conversation

sdroege
Copy link
Contributor

@sdroege sdroege commented Sep 25, 2018

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 by @DutchGhost.


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

@rust-highfive
Copy link
Contributor

r? @dtolnay

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 25, 2018
@kennytm kennytm added the T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. label Sep 26, 2018
@dtolnay
Copy link
Member

dtolnay commented Sep 28, 2018

Simon would you be able to take this review? I haven't gotten a chance to look at the code but this sounds like a natural extension of #47115.

r? @SimonSapin

@rust-highfive rust-highfive assigned SimonSapin and unassigned dtolnay Sep 28, 2018
@bors
Copy link
Collaborator

bors commented Sep 29, 2018

☔ The latest upstream changes (presumably #54554) made this pull request unmergeable. Please resolve the merge conflicts.

@sdroege
Copy link
Contributor Author

sdroege commented Sep 29, 2018

umbrella The latest upstream changes (presumably #54554) made this pull request unmergeable. Please resolve the merge conflicts.

Rebased

@bors
Copy link
Collaborator

bors commented Oct 12, 2018

☔ The latest upstream changes (presumably #54924) made this pull request unmergeable. Please resolve the merge conflicts.

@sdroege
Copy link
Contributor Author

sdroege commented Oct 12, 2018

umbrella The latest upstream changes (presumably #54924) made this pull request unmergeable. Please resolve the merge conflicts.

Rebased again

@SimonSapin
Copy link
Contributor

Looks great, thanks! Sorry for the repeated conflicts and rebasing. r=me with the tracking issue changed to #55177

@sdroege
Copy link
Contributor Author

sdroege commented Oct 18, 2018

Updated the tracking issue in the commit, thanks for the review and also thanks for creating the tracking issue :)

…t_mut()

These work exactly like the normal chunks iterators but start creating
chunks from the end of the slice.

See rust-lang#55177 for the tracking issue
@sdroege
Copy link
Contributor Author

sdroege commented Oct 18, 2018

travis is green again

@SimonSapin
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Oct 18, 2018

📌 Commit 80a8e5c has been approved by SimonSapin

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 18, 2018
@bors
Copy link
Collaborator

bors commented Oct 18, 2018

⌛ Testing commit 80a8e5c with merge 121320d...

bors added a commit that referenced this pull request Oct 18, 2018
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](#47115 (comment)) by @DutchGhost.

~~~This currently includes the commits from #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
@bors
Copy link
Collaborator

bors commented Oct 18, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: SimonSapin
Pushing 121320d to master...

@bors bors merged commit 80a8e5c into rust-lang:master Oct 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants