diff options
Diffstat (limited to 'ext/net/io.rs')
-rw-r--r-- | ext/net/io.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/net/io.rs b/ext/net/io.rs index 02caf7473..c9587c851 100644 --- a/ext/net/io.rs +++ b/ext/net/io.rs @@ -136,6 +136,7 @@ impl TcpStreamResource { .map_socket(Box::new(move |socket| Ok(socket.set_keepalive(keepalive)?))) } + #[allow(clippy::type_complexity)] fn map_socket( self: Rc<Self>, map: Box<dyn FnOnce(SockRef) -> Result<(), AnyError>>, |