Skip to content

add stream::max_by method#384

Merged
yoshuawuyts merged 7 commits into
async-rs:masterfrom
yjhmelody:stream-max_by
Oct 29, 2019
Merged

add stream::max_by method#384
yoshuawuyts merged 7 commits into
async-rs:masterfrom
yjhmelody:stream-max_by

Conversation

@yjhmelody

@yjhmelody yjhmelody commented Oct 23, 2019

Copy link
Copy Markdown
Contributor

I impl it by reference min_by.
Though altering x.cmp(y) to y.cmp(x) can also do the same thing.

#129

Comment thread src/stream/stream/max_by.rs Outdated
Comment thread src/stream/stream/max_by.rs Outdated
Comment thread src/stream/stream/max_by.rs Outdated
yjhmelody and others added 3 commits October 27, 2019 00:17
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
@yoshuawuyts yoshuawuyts added the enhancement New feature or request label Oct 28, 2019

@yoshuawuyts yoshuawuyts left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fantastic work; thanks so much!

@yoshuawuyts yoshuawuyts merged commit 2b1c6f0 into async-rs:master Oct 29, 2019
@yoshuawuyts yoshuawuyts mentioned this pull request Oct 29, 2019
@yjhmelody yjhmelody deleted the stream-max_by branch October 29, 2019 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants