File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -995,15 +995,15 @@ mod noop {
995995 /// the specified address?
996996 ///
997997 /// Returns true if so, false otherwise.
998- pub fn has_udp ( & self , addr : & SocketAddr ) -> bool {
998+ pub fn has_udp ( & self , _addr : & SocketAddr ) -> bool {
999999 false
10001000 }
10011001
10021002 /// Did the environment contain a TCP socket descriptor for
10031003 /// the specified address?
10041004 ///
10051005 /// Returns true if so, false otherwise.
1006- pub fn has_tcp ( & self , addr : & SocketAddr ) -> bool {
1006+ pub fn has_tcp ( & self , _addr : & SocketAddr ) -> bool {
10071007 false
10081008 }
10091009
@@ -1016,15 +1016,15 @@ mod noop {
10161016 ///
10171017 /// Subsequent attempts to remove the same UDP socket, or any other
10181018 /// non-existing socket, will return None.
1019- pub fn take_udp ( & mut self , addr : & SocketAddr ) -> Option < UdpSocket > {
1019+ pub fn take_udp ( & mut self , _addr : & SocketAddr ) -> Option < UdpSocket > {
10201020 None
10211021 }
10221022
10231023 pub fn pop_udp ( & mut self ) -> Option < UdpSocket > {
10241024 None
10251025 }
10261026
1027- pub fn take_tcp ( & mut self , addr : & SocketAddr ) -> Option < TcpListener > {
1027+ pub fn take_tcp ( & mut self , _addr : & SocketAddr ) -> Option < TcpListener > {
10281028 None
10291029 }
10301030
You can’t perform that action at this time.
0 commit comments