@@ -1086,7 +1086,7 @@ impl<T: Read> AsyncRead for Async<T> {
1086
1086
buf : & mut [ u8 ] ,
1087
1087
) -> Poll < io:: Result < usize > > {
1088
1088
loop {
1089
- match ( & mut * self ) . get_mut ( ) . read ( buf) {
1089
+ match ( * self ) . get_mut ( ) . read ( buf) {
1090
1090
Err ( err) if err. kind ( ) == io:: ErrorKind :: WouldBlock => { }
1091
1091
res => return Poll :: Ready ( res) ,
1092
1092
}
@@ -1100,7 +1100,7 @@ impl<T: Read> AsyncRead for Async<T> {
1100
1100
bufs : & mut [ IoSliceMut < ' _ > ] ,
1101
1101
) -> Poll < io:: Result < usize > > {
1102
1102
loop {
1103
- match ( & mut * self ) . get_mut ( ) . read_vectored ( bufs) {
1103
+ match ( * self ) . get_mut ( ) . read_vectored ( bufs) {
1104
1104
Err ( err) if err. kind ( ) == io:: ErrorKind :: WouldBlock => { }
1105
1105
res => return Poll :: Ready ( res) ,
1106
1106
}
@@ -1149,7 +1149,7 @@ impl<T: Write> AsyncWrite for Async<T> {
1149
1149
buf : & [ u8 ] ,
1150
1150
) -> Poll < io:: Result < usize > > {
1151
1151
loop {
1152
- match ( & mut * self ) . get_mut ( ) . write ( buf) {
1152
+ match ( * self ) . get_mut ( ) . write ( buf) {
1153
1153
Err ( err) if err. kind ( ) == io:: ErrorKind :: WouldBlock => { }
1154
1154
res => return Poll :: Ready ( res) ,
1155
1155
}
@@ -1163,7 +1163,7 @@ impl<T: Write> AsyncWrite for Async<T> {
1163
1163
bufs : & [ IoSlice < ' _ > ] ,
1164
1164
) -> Poll < io:: Result < usize > > {
1165
1165
loop {
1166
- match ( & mut * self ) . get_mut ( ) . write_vectored ( bufs) {
1166
+ match ( * self ) . get_mut ( ) . write_vectored ( bufs) {
1167
1167
Err ( err) if err. kind ( ) == io:: ErrorKind :: WouldBlock => { }
1168
1168
res => return Poll :: Ready ( res) ,
1169
1169
}
@@ -1173,7 +1173,7 @@ impl<T: Write> AsyncWrite for Async<T> {
1173
1173
1174
1174
fn poll_flush ( mut self : Pin < & mut Self > , cx : & mut Context < ' _ > ) -> Poll < io:: Result < ( ) > > {
1175
1175
loop {
1176
- match ( & mut * self ) . get_mut ( ) . flush ( ) {
1176
+ match ( * self ) . get_mut ( ) . flush ( ) {
1177
1177
Err ( err) if err. kind ( ) == io:: ErrorKind :: WouldBlock => { }
1178
1178
res => return Poll :: Ready ( res) ,
1179
1179
}
0 commit comments