rust-lang / futures-rs

Zero-cost asynchronous programming in Rust
https://rust-lang.github.io/futures-rs/
Apache License 2.0
5.34k stars 616 forks source link

docs: futures-util::StreamExt: cite map and then in docs #2756

Closed marcospb19 closed 1 year ago

taiki-e commented 1 year ago

Thanks for the PR.

I don't think "synchronous alternative"/"asynchronous alternative" is a very clear explanation.

How about something like "if you want to use a closure that returns a value instead of a future"?

marcospb19 commented 1 year ago

I think CI is failing for unrelated reasons.