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

collections: Add slice::binary_search_by_key #32693

Merged
merged 1 commit into from
Apr 15, 2016

Conversation

kamalmarhubi
Copy link
Contributor

This method adds to the family of _by_key methods, and is the
counterpart of slice::sort_by_key. It was mentioned on #30423 but
was not implemented at that time.

Refs #30423

@rust-highfive
Copy link
Collaborator

r? @brson

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

@alexcrichton alexcrichton added the T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. label Apr 3, 2016
@bors
Copy link
Contributor

bors commented Apr 12, 2016

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

This method adds to the family of `_by_key` methods, and is the
counterpart of `slice::sort_by_key`. It was mentioned on rust-lang#30423 but
was not implemented at that time.

Refs rust-lang#30423
@kamalmarhubi
Copy link
Contributor Author

Rebased.

@alexcrichton
Copy link
Member

The libs team discussed this during triage yesterday and the conclusion was to merge, thanks again for the PR @kamalmarhubi!

@bors: r+ 62945b6

@bors
Copy link
Contributor

bors commented Apr 15, 2016

⌛ Testing commit 62945b6 with merge 4091cd0...

bors added a commit that referenced this pull request Apr 15, 2016
collections: Add slice::binary_search_by_key

This method adds to the family of `_by_key` methods, and is the
counterpart of `slice::sort_by_key`. It was mentioned on #30423 but
was not implemented at that time.

Refs #30423
@kamalmarhubi
Copy link
Contributor Author

kamalmarhubi commented Apr 15, 2016

@alexcrichton Does it need a tracking issue to be filled in?

@alexcrichton
Copy link
Member

Guh right, yes! If this lands, wanna file a follow-up PR filling that in? Also feel free to open the issue, I'll fill out the tags

@bors bors merged commit 62945b6 into rust-lang:master Apr 15, 2016
@kamalmarhubi kamalmarhubi deleted the binary_search_by_key branch April 15, 2016 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

5 participants