Skip to content

Add TryFutureExt::try_flatten_stream #1618

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
May 20, 2019

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented May 18, 2019

Closes #1444

@taiki-e taiki-e force-pushed the future-try_flatten_stream branch from 7b2d58b to 547a716 Compare May 18, 2019 14:37
}

impl<Fut, St> State<Fut, St> {
fn get_pin_mut<'a>(self: Pin<&'a mut Self>) -> State<Pin<&'a mut Fut>, Pin<&'a mut St>> {
Copy link
Member Author

Choose a reason for hiding this comment

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

'a can be removed when rust-lang/rust#60944 is merged.

@cramertj
Copy link
Member

Looks great, thanks for this! Will merge once conflicts are resolved.

@taiki-e taiki-e force-pushed the future-try_flatten_stream branch from 547a716 to 4ae2a90 Compare May 20, 2019 22:17
@taiki-e
Copy link
Member Author

taiki-e commented May 20, 2019

Rebased (and Travis passed).

@cramertj cramertj merged commit d970945 into rust-lang:master May 20, 2019
@taiki-e taiki-e deleted the future-try_flatten_stream branch May 20, 2019 22:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

try_flatten_stream() in futures-preview 0.3.0
3 participants