Skip to content

Add TryFutureExt::try_flatten_stream#1618

Merged
cramertj merged 2 commits into
rust-lang:masterfrom
taiki-e:future-try_flatten_stream
May 20, 2019
Merged

Add TryFutureExt::try_flatten_stream#1618
cramertj merged 2 commits into
rust-lang:masterfrom
taiki-e:future-try_flatten_stream

Conversation

@taiki-e

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

Copy link
Copy Markdown
Member

Closes #1444

Comment thread futures-util/src/future/flatten_stream.rs Outdated
@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
Copy Markdown
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
Copy Markdown
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

taiki-e commented May 20, 2019

Copy link
Copy Markdown
Member Author

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
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.

try_flatten_stream() in futures-preview 0.3.0

3 participants