http: silence clippy warnings

This commit is contained in:
Joakim Frostegård 2024-01-20 10:29:13 +01:00
parent c32fa7cc2b
commit 746aa47cce
2 changed files with 2 additions and 0 deletions

View file

@ -33,6 +33,7 @@ struct ConnectionHandle {
valid_until: Rc<RefCell<ValidUntil>>, valid_until: Rc<RefCell<ValidUntil>>,
} }
#[allow(clippy::too_many_arguments)]
pub async fn run_socket_worker( pub async fn run_socket_worker(
_sentinel: PanicSentinel, _sentinel: PanicSentinel,
config: Config, config: Config,

View file

@ -280,6 +280,7 @@ mod tests {
} }
} }
#[allow(clippy::too_many_arguments)]
#[quickcheck] #[quickcheck]
fn test_urlencode_urldecode_20_bytes( fn test_urlencode_urldecode_20_bytes(
a: u8, a: u8,