mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-24 00:00:11 +02:00
This impl had a bound on `StreamReader<S, E>`; this is incorrect because: - The second generic parameter to `StreamReader` is not an error type; it's a buffer type. - The `Stream` error type in `StreamReader` should not need to be the same as the `Sink` error type. This "passthrough" `Sink` impl was effectively unusable because it required the `Sink` error type be the same as the `StreamReader` buffer type. Resolve this by allowing the `StreamReader` buffer to be anything in this impl.