futures-rs
futures-rs copied to clipboard
refactor: `TryFuture`s are `Future`s now, `into_future` is no longer need
Reduce a wrapper for IntoFuture struct, reduce code complexity.
AFAIK there are almost no crates use these IntoFutures and IntoStreams. But if one want the backward compatibility, one can define type IntoFuture<T> = T and type IntoStream<T> = T or just bump to v0.4.0, both is OK.
This appears to be a duplicate of https://github.com/rust-lang/futures-rs/pull/2763?
This appears to be a duplicate of #2763?
Maybe to say it is an extension better.