Skip to content

Commit

Permalink
chore: fix clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
youngsofun committed Sep 26, 2022
1 parent 79d1e1d commit 9175f98
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,10 @@ impl<I: InputFormatPipe> Processor for DeserializeSource<I> {
None => {
if self.input_buffer.is_some() {
Ok(Event::Sync)
} else if self.input_finished {
Ok(Event::Finished)
} else {
if self.input_finished {
Ok(Event::Finished)
} else {
Ok(Event::Async)
}
Ok(Event::Async)
}
}
}
Expand Down

0 comments on commit 9175f98

Please sign in to comment.