summaryrefslogtreecommitdiff
path: root/ext/net/io.rs
diff options
context:
space:
mode:
authorMathias Lafeldt <mathias.lafeldt@gmail.com>2022-08-21 19:31:14 +0200
committerGitHub <noreply@github.com>2022-08-21 19:31:14 +0200
commite96933bc163fd81a276cbc169b17f76724a5ac33 (patch)
tree9baab891a4035c4a03b490bb81ade8b42c426d9a /ext/net/io.rs
parentfb2aeb79a113e576ff2cc4f1bf3fc30741969508 (diff)
chore: use Rust 1.63.0 (#15464)
Diffstat (limited to 'ext/net/io.rs')
-rw-r--r--ext/net/io.rs1
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>>,