diff options
| author | Mathias Lafeldt <mathias.lafeldt@gmail.com> | 2022-08-21 19:31:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-21 19:31:14 +0200 |
| commit | e96933bc163fd81a276cbc169b17f76724a5ac33 (patch) | |
| tree | 9baab891a4035c4a03b490bb81ade8b42c426d9a /ext/net | |
| parent | fb2aeb79a113e576ff2cc4f1bf3fc30741969508 (diff) | |
chore: use Rust 1.63.0 (#15464)
Diffstat (limited to 'ext/net')
| -rw-r--r-- | ext/net/io.rs | 1 | ||||
| -rw-r--r-- | ext/net/ops.rs | 1 |
2 files changed, 2 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>>, 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<dyn Fn(&mut OpState, u32)>, |
