Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed Oct 8, 2024
1 parent 6b23477 commit df982ea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/tokio/bufread/generic/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,7 @@ impl<R: AsyncBufRead, D: Decode> Decoder<R, D> {
let done = this.decoder.decode(&mut input, output)?;
let len = input.written().len();
this.reader.as_mut().consume(len);
if output.written().is_empty() {
*this.multiple_members = false;
State::Flushing
} else if done {
if done {
State::Flushing
} else {
State::Decoding
Expand Down

0 comments on commit df982ea

Please sign in to comment.