@@ -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