Skip to content

Commit 8919e02

Browse files
authored
ci: fix clippy failure (#7863)
1 parent ecaed08 commit 8919e02

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/biome_cli/src/service/windows.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ impl AsyncRead for ClientReadHalf {
129129
return Poll::Ready(Ok(()));
130130
}
131131

132-
Err(err) if err.kind() == io::ErrorKind::WouldBlock => continue,
132+
Err(err) if err.kind() == io::ErrorKind::WouldBlock => {}
133133
Err(err) => return Poll::Ready(Err(err)),
134134
},
135135

@@ -154,7 +154,7 @@ impl AsyncWrite for ClientWriteHalf {
154154
match self.inner.poll_write_ready(cx) {
155155
Poll::Ready(Ok(())) => match self.inner.try_write(buf) {
156156
Ok(count) => return Poll::Ready(Ok(count)),
157-
Err(err) if err.kind() == io::ErrorKind::WouldBlock => continue,
157+
Err(err) if err.kind() == io::ErrorKind::WouldBlock => {}
158158
Err(err) => return Poll::Ready(Err(err)),
159159
},
160160

@@ -257,7 +257,7 @@ impl AsyncRead for ServerReadHalf {
257257
return Poll::Ready(Ok(()));
258258
}
259259

260-
Err(err) if err.kind() == io::ErrorKind::WouldBlock => continue,
260+
Err(err) if err.kind() == io::ErrorKind::WouldBlock => {}
261261
Err(err) => return Poll::Ready(Err(err)),
262262
},
263263

@@ -282,7 +282,7 @@ impl AsyncWrite for ServerWriteHalf {
282282
match self.inner.poll_write_ready(cx) {
283283
Poll::Ready(Ok(())) => match self.inner.try_write(buf) {
284284
Ok(count) => return Poll::Ready(Ok(count)),
285-
Err(err) if err.kind() == io::ErrorKind::WouldBlock => continue,
285+
Err(err) if err.kind() == io::ErrorKind::WouldBlock => {}
286286
Err(err) => return Poll::Ready(Err(err)),
287287
},
288288

0 commit comments

Comments
 (0)