Skip to content

Feature/nth back chunks #61048

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 11 commits into from
May 29, 2019
Merged

Feature/nth back chunks #61048

merged 11 commits into from
May 29, 2019

Conversation

wizAmit
Copy link
Contributor

@wizAmit wizAmit commented May 22, 2019

A succinct implementation for nth_back on chunks. Thank you @timvermeulen for the guidance.

r? @timvermeulen

@amit.chandra and others added 11 commits May 4, 2019 19:44
Signed-off-by: wizAmit <amitforfriends_dns@yahoo.com>
Signed-off-by: wizAmit <amitforfriends_dns@yahoo.com>
Signed-off-by: wizAmit <amitforfriends_dns@yahoo.com>
Signed-off-by: wizAmit <amitforfriends_dns@yahoo.com>
Signed-off-by: wizAmit <amitforfriends_dns@yahoo.com>
Signed-off-by: wizAmit <amitforfriends_dns@yahoo.com>
Signed-off-by: wizAmit <amitforfriends_dns@yahoo.com>
@timvermeulen
Copy link
Contributor

Looks good to me, although I don't have permission to approve PRs here. 🙂

Since the implementations for ChunksExact/ChunksMut/ChunksExactMut are so similar, wanna give those a try too?

@wizAmit
Copy link
Contributor Author

wizAmit commented May 22, 2019

Ya.. will do that in a separate PR... Thanks a lot!!

@wizAmit wizAmit closed this May 22, 2019
@wizAmit wizAmit reopened this May 22, 2019
@Centril
Copy link
Contributor

Centril commented May 25, 2019

r? @scottmcm

@scottmcm
Copy link
Member

Thanks for including good tests!

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented May 29, 2019

📌 Commit bcfd1f3 has been approved by scottmcm

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label May 29, 2019
Centril added a commit to Centril/rust that referenced this pull request May 29, 2019
…scottmcm

Feature/nth back chunks

A succinct implementation for nth_back on chunks. Thank you @timvermeulen for the guidance.

r? @timvermeulen
Centril added a commit to Centril/rust that referenced this pull request May 29, 2019
…scottmcm

Feature/nth back chunks

A succinct implementation for nth_back on chunks. Thank you @timvermeulen for the guidance.

r? @timvermeulen
bors added a commit that referenced this pull request May 29, 2019
Rollup of 11 pull requests

Successful merges:

 - #58975 (Implement `iter::Sum` and `iter::Product` for `Option`)
 - #60542 (Add Step::sub_usize)
 - #60555 (Implement nth_back for RChunks(Exact)(Mut))
 - #60766 (Weak::into_raw)
 - #61048 (Feature/nth back chunks)
 - #61191 (librustc_errors: Move annotation collection to own impl)
 - #61235 (Stabilize bufreader_buffer feature)
 - #61249 (Rename Place::local to Place::local_or_deref_local)
 - #61291 (Avoid unneeded bug!() call)
 - #61294 (Rename `TraitOrImpl` to `Assoc` and `trait_or_impl` to `assoc`.)
 - #61297 (Remove LLVM instruction stats and other (obsolete) codegen stats.)

Failed merges:

r? @ghost
@bors bors merged commit bcfd1f3 into rust-lang:master May 29, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants