diff --git a/src/tokio/bufread/generic/decoder.rs b/src/tokio/bufread/generic/decoder.rs index 01195b9..0c21df7 100644 --- a/src/tokio/bufread/generic/decoder.rs +++ b/src/tokio/bufread/generic/decoder.rs @@ -89,7 +89,7 @@ impl Decoder { } else { State::Decoding } - }, + } Poll::Ready(input) => { let mut input = PartialBuffer::new(input?); let done = this.decoder.decode(&mut input, output)?; @@ -105,7 +105,6 @@ impl Decoder { } } } - } State::Flushing => {