diff --git a/keyforkd/src/lib.rs b/keyforkd/src/lib.rs index 4e44844..bd2e29a 100644 --- a/keyforkd/src/lib.rs +++ b/keyforkd/src/lib.rs @@ -35,6 +35,7 @@ pub async fn start_and_run_server_on( } }; match server.run(service).await { + #[allow(clippy::ignored_unit_patterns)] Ok(_) => (), Err(e) => { #[cfg(feature = "tracing")] diff --git a/keyforkd/src/service.rs b/keyforkd/src/service.rs index 7ac7343..2ff466b 100644 --- a/keyforkd/src/service.rs +++ b/keyforkd/src/service.rs @@ -1,3 +1,5 @@ +#![allow(clippy::implicit_clone)] + use std::{future::Future, pin::Pin, sync::Arc, task::Poll}; use keyfork_derive_path_data::guess_target; @@ -156,7 +158,7 @@ mod tests { .unwrap() .try_into() .unwrap(); - assert_eq!(response.data, private_key) + assert_eq!(response.data, private_key); } } @@ -182,7 +184,7 @@ mod tests { .unwrap() .try_into() .unwrap(); - assert_eq!(response.data, private_key) + assert_eq!(response.data, private_key); } } }