Skip to content

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
Contributor

r? @brson

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

@kamalmarhubi kamalmarhubi force-pushed the binary_search_by_key branch from 723f9d3 to a13540b Compare April 3, 2016 03:50
@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
Collaborator

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 kamalmarhubi force-pushed the binary_search_by_key branch from a13540b to 62945b6 Compare April 12, 2016 14:31
@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
Collaborator

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