Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed Oct 8, 2024
1 parent aefbdf9 commit 6b23477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tokio/bufread/generic/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +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().len() == 0 {
if output.written().is_empty() {
*this.multiple_members = false;
State::Flushing
} else if done {
Expand Down

0 comments on commit 6b23477

Please sign in to comment.