Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Deprecate offset_to; switch core&alloc to using offset_from instead #49551

Merged
merged 1 commit into from
Apr 12, 2018

Conversation

scottmcm
Copy link
Member

@scottmcm scottmcm commented Apr 1, 2018

Bonus: might make code than uses .len() on slice iterators faster

cc #41079

Bonus: might make code than uses `.len()` on slice iterators faster
@pietroalbini pietroalbini added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 2, 2018
@shepmaster
Copy link
Member

Ping from triage, @aidanhs !

@aidanhs
Copy link
Member

aidanhs commented Apr 10, 2018

Oops! Sorry @scottmcm, reassigning to a libs team member - r? @KodrAus

@rust-highfive rust-highfive assigned KodrAus and unassigned aidanhs Apr 10, 2018
@KodrAus
Copy link
Contributor

KodrAus commented Apr 12, 2018

This looks good to me! Looks like we've got precedent for deprecating unstable APIs for a period of time before removing them.

@bors r+

@bors
Copy link
Contributor

bors commented Apr 12, 2018

📌 Commit b394165 has been approved by KodrAus

@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 Apr 12, 2018
@bors
Copy link
Contributor

bors commented Apr 12, 2018

⌛ Testing commit b394165 with merge 9afed64...

bors added a commit that referenced this pull request Apr 12, 2018
Deprecate offset_to; switch core&alloc to using offset_from instead

Bonus: might make code than uses `.len()` on slice iterators faster

cc #41079
@bors
Copy link
Contributor

bors commented Apr 12, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: KodrAus
Pushing 9afed64 to master...

@bors bors merged commit b394165 into rust-lang:master Apr 12, 2018
@scottmcm scottmcm deleted the deprecate-offset_to branch April 12, 2018 23:18
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants