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

Projects
None yet
5 participants
@kamalmarhubi
Copy link
Contributor

kamalmarhubi commented Apr 3, 2016

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

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Apr 3, 2016

r? @brson

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

@kamalmarhubi kamalmarhubi force-pushed the kamalmarhubi:binary_search_by_key branch from 723f9d3 to a13540b Apr 3, 2016

@alexcrichton alexcrichton added the T-libs label Apr 3, 2016

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Apr 12, 2016

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

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 kamalmarhubi force-pushed the kamalmarhubi:binary_search_by_key branch from a13540b to 62945b6 Apr 12, 2016

@kamalmarhubi

This comment has been minimized.

Copy link
Contributor Author

kamalmarhubi commented Apr 12, 2016

Rebased.

@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Apr 15, 2016

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

@bors: r+ 62945b6

@bors

This comment has been minimized.

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

Auto merge of #32693 - kamalmarhubi:binary_search_by_key, r=alexcrichton
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

This comment has been minimized.

Copy link
Contributor Author

kamalmarhubi commented Apr 15, 2016

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

@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Apr 15, 2016

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

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details

@kamalmarhubi kamalmarhubi deleted the kamalmarhubi:binary_search_by_key branch Apr 15, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.