From 9d86cf15f0275ffeee4519bd054e3b61dc8992ac Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 26 Feb 2026 15:42:09 +0000 Subject: chore: apply cargo fmt and fix clippy warnings Fix pre-existing clippy lints: - &PathBuf -> &Path in audit_cleanup.rs - too_many_arguments on process_newly_available_git_data, process_purgatory_announcements, and HttpService::new - clone_on_copy for PublicKey (Copy type) in purgatory cleanup loop --- grasp-audit/src/bin/grasp-audit.rs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'grasp-audit/src/bin') diff --git a/grasp-audit/src/bin/grasp-audit.rs b/grasp-audit/src/bin/grasp-audit.rs index 305e5eb..ab835e7 100644 --- a/grasp-audit/src/bin/grasp-audit.rs +++ b/grasp-audit/src/bin/grasp-audit.rs @@ -132,7 +132,11 @@ async fn main() -> Result<()> { println!("\n[Run {}]", run); } let report = grasp_audit::probe::run_probe( - &relay, keys.clone(), read_only, timeout, overall_secs, + &relay, + keys.clone(), + read_only, + timeout, + overall_secs, ) .await; if json { @@ -144,10 +148,9 @@ async fn main() -> Result<()> { tokio::time::sleep(Duration::from_secs(interval)).await; } } else { - let report = grasp_audit::probe::run_probe( - &relay, keys, read_only, timeout, overall_secs, - ) - .await; + let report = + grasp_audit::probe::run_probe(&relay, keys, read_only, timeout, overall_secs) + .await; if json { report.print_json(); } else { -- cgit v1.2.3