So I had this function that compiled with futures 1.21, but won't anymore after upgrade to v0.2.
I saw that method flatten has changed slightly, but it didn't help me much with fixing it.
So I had this function that compiled with futures 1.21, but won't anymore after upgrade to v0.2.
I saw that method flatten has changed slightly, but it didn't help me much with fixing it.
Change to
where S: Stream<Error = <Self as Stream>::Error>,
and can delete
<S as Stream>::Error: From<<Self as Stream>::Error>,