@@ -995,7 +995,7 @@ where
995
995
buf : & mut [ u8 ] ,
996
996
) -> Poll < io:: Result < usize > > {
997
997
loop {
998
- match ( & * self ) . get_ref ( ) . read ( buf) {
998
+ match ( * self ) . get_ref ( ) . read ( buf) {
999
999
Err ( err) if err. kind ( ) == io:: ErrorKind :: WouldBlock => { }
1000
1000
res => return Poll :: Ready ( res) ,
1001
1001
}
@@ -1009,7 +1009,7 @@ where
1009
1009
bufs : & mut [ IoSliceMut < ' _ > ] ,
1010
1010
) -> Poll < io:: Result < usize > > {
1011
1011
loop {
1012
- match ( & * self ) . get_ref ( ) . read_vectored ( bufs) {
1012
+ match ( * self ) . get_ref ( ) . read_vectored ( bufs) {
1013
1013
Err ( err) if err. kind ( ) == io:: ErrorKind :: WouldBlock => { }
1014
1014
res => return Poll :: Ready ( res) ,
1015
1015
}
@@ -1072,7 +1072,7 @@ where
1072
1072
buf : & [ u8 ] ,
1073
1073
) -> Poll < io:: Result < usize > > {
1074
1074
loop {
1075
- match ( & * self ) . get_ref ( ) . write ( buf) {
1075
+ match ( * self ) . get_ref ( ) . write ( buf) {
1076
1076
Err ( err) if err. kind ( ) == io:: ErrorKind :: WouldBlock => { }
1077
1077
res => return Poll :: Ready ( res) ,
1078
1078
}
@@ -1086,7 +1086,7 @@ where
1086
1086
bufs : & [ IoSlice < ' _ > ] ,
1087
1087
) -> Poll < io:: Result < usize > > {
1088
1088
loop {
1089
- match ( & * self ) . get_ref ( ) . write_vectored ( bufs) {
1089
+ match ( * self ) . get_ref ( ) . write_vectored ( bufs) {
1090
1090
Err ( err) if err. kind ( ) == io:: ErrorKind :: WouldBlock => { }
1091
1091
res => return Poll :: Ready ( res) ,
1092
1092
}
@@ -1096,7 +1096,7 @@ where
1096
1096
1097
1097
fn poll_flush ( self : Pin < & mut Self > , cx : & mut Context < ' _ > ) -> Poll < io:: Result < ( ) > > {
1098
1098
loop {
1099
- match ( & * self ) . get_ref ( ) . flush ( ) {
1099
+ match ( * self ) . get_ref ( ) . flush ( ) {
1100
1100
Err ( err) if err. kind ( ) == io:: ErrorKind :: WouldBlock => { }
1101
1101
res => return Poll :: Ready ( res) ,
1102
1102
}
0 commit comments