From 746aa47ccebe96eec0b3e80f39cceec5e4838d26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sat, 20 Jan 2024 10:29:13 +0100 Subject: [PATCH] http: silence clippy warnings --- crates/http/src/workers/socket/mod.rs | 1 + crates/http_protocol/src/utils.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/crates/http/src/workers/socket/mod.rs b/crates/http/src/workers/socket/mod.rs index 9fab395..025b4a4 100644 --- a/crates/http/src/workers/socket/mod.rs +++ b/crates/http/src/workers/socket/mod.rs @@ -33,6 +33,7 @@ struct ConnectionHandle { valid_until: Rc>, } +#[allow(clippy::too_many_arguments)] pub async fn run_socket_worker( _sentinel: PanicSentinel, config: Config, diff --git a/crates/http_protocol/src/utils.rs b/crates/http_protocol/src/utils.rs index 51b2ac4..1668acc 100644 --- a/crates/http_protocol/src/utils.rs +++ b/crates/http_protocol/src/utils.rs @@ -280,6 +280,7 @@ mod tests { } } + #[allow(clippy::too_many_arguments)] #[quickcheck] fn test_urlencode_urldecode_20_bytes( a: u8,