Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
util: Relax bounds for FuturesUnordered #2085
There is no need for the
There is no need for the `FuturesUnordered` constructors to require that the provided `Fut` type implements `Future`. It needlessly requires callers to also propagate that bound onto their constructors, all the way up the chain. This patch removes the bounds except where necessary, specifically for the `impl Stream`.