Navigation Menu

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

Added unstable variants of sort from std #494

Merged
merged 4 commits into from Nov 9, 2020
Merged

Conversation

zeon256
Copy link
Contributor

@zeon256 zeon256 commented Nov 9, 2020

Hello! This PR adds the following methods

  • sorted_unstable
  • sorted_unstable_by
  • sorted_unstable_by_key

The methods mentioned above have the same signature as the normal sorted version. Internally, all of them uses the unstable variants of sort from std.

Added `sorted_unstable_by`

Added `sorted_unstable_by_key`
Added test for `sorted_unstable_by`

Added test for `sorted_unstable_by_key`
Copy link
Member

@jswrenn jswrenn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

bors r+

@jswrenn jswrenn added this to the next milestone Nov 9, 2020
@bors
Copy link
Contributor

bors bot commented Nov 9, 2020

Build succeeded:

@bors bors bot merged commit 9958c45 into rust-itertools:master Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants