Skip to content

Commit 068381c

Browse files
Jake-Shadlesomtochiama
authored andcommitted
Fix lints
1 parent eb76bef commit 068381c

File tree

1 file changed

+2
-2
lines changed
  • crates/corro-agent/src/api/utils

1 file changed

+2
-2
lines changed

crates/corro-agent/src/api/utils/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ impl http_body::Body for CountedBody {
4040
let mut this = self.project();
4141

4242
match this.rx_frame.poll_recv(cx) {
43-
Poll::Ready(frame @ Some(_)) => return Poll::Ready(frame.map(Ok)),
44-
Poll::Ready(None) => return Poll::Ready(None),
43+
Poll::Ready(frame @ Some(_)) => Poll::Ready(frame.map(Ok)),
44+
Poll::Ready(None) => Poll::Ready(None),
4545
Poll::Pending => Poll::Pending,
4646
}
4747
}

0 commit comments

Comments
 (0)