keyforkd: make clippy happy

This commit is contained in:
Ryan Heywood 2024-01-06 23:20:45 -05:00
parent b5d2244091
commit ec212a8975
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
2 changed files with 5 additions and 2 deletions

View File

@ -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")]

View File

@ -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);
}
}
}