Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Nov 4, 2024
1 parent 6d1d773 commit 9bf6f31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ntex-io/src/dispatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,8 @@ where
fn poll_service(&mut self, cx: &mut Context<'_>) -> Poll<PollService<U>> {
// check service readiness
if self.flags.contains(Flags::READY) {
if self.ready_count != 0 && self.shared.service.poll_not_ready(cx).is_pending() {
if self.ready_count != 0 && self.shared.service.poll_not_ready(cx).is_pending()
{
self.ready_count -= 1;
return Poll::Ready(self.check_error());
}
Expand Down

0 comments on commit 9bf6f31

Please sign in to comment.