File tree Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ impl TryFrom<net::TcpListener> for TcpListener {
401401
402402impl fmt:: Debug for TcpListener {
403403 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
404- self . io . fmt ( f)
404+ ( * self . io ) . fmt ( f)
405405 }
406406}
407407
Original file line number Diff line number Diff line change @@ -1458,7 +1458,8 @@ impl AsyncWrite for TcpStream {
14581458
14591459impl fmt:: Debug for TcpStream {
14601460 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
1461- self . io . fmt ( f)
1461+ // skip PollEvented noise
1462+ ( * self . io ) . fmt ( f)
14621463 }
14631464}
14641465
Original file line number Diff line number Diff line change @@ -1604,7 +1604,7 @@ impl TryFrom<std::os::unix::net::UnixDatagram> for UnixDatagram {
16041604
16051605impl fmt:: Debug for UnixDatagram {
16061606 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
1607- self . io . fmt ( f)
1607+ ( * self . io ) . fmt ( f)
16081608 }
16091609}
16101610
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ impl TryFrom<std::os::unix::net::UnixListener> for UnixListener {
230230
231231impl fmt:: Debug for UnixListener {
232232 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
233- self . io . fmt ( f)
233+ ( * self . io ) . fmt ( f)
234234 }
235235}
236236
Original file line number Diff line number Diff line change @@ -1072,7 +1072,7 @@ impl UnixStream {
10721072
10731073impl fmt:: Debug for UnixStream {
10741074 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
1075- self . io . fmt ( f)
1075+ ( * self . io ) . fmt ( f)
10761076 }
10771077}
10781078
You can’t perform that action at this time.
0 commit comments