From e96933bc163fd81a276cbc169b17f76724a5ac33 Mon Sep 17 00:00:00 2001 From: Mathias Lafeldt Date: Sun, 21 Aug 2022 19:31:14 +0200 Subject: chore: use Rust 1.63.0 (#15464) --- ext/net/io.rs | 1 + ext/net/ops.rs | 1 + 2 files changed, 2 insertions(+) (limited to 'ext/net') 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, map: Box Result<(), AnyError>>, diff --git a/ext/net/ops.rs b/ext/net/ops.rs index 87bfc3272..a05c21da8 100644 --- a/ext/net/ops.rs +++ b/ext/net/ops.rs @@ -1047,6 +1047,7 @@ mod tests { check_sockopt(String::from("127.0.0.1:4246"), set_keepalive, test_fn).await; } + #[allow(clippy::type_complexity)] async fn check_sockopt( addr: String, set_sockopt_fn: Box, -- cgit v1.2.3