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 --- tests/sync/discovery.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/sync/discovery.rs') diff --git a/tests/sync/discovery.rs b/tests/sync/discovery.rs index d45a290..ee675e6 100644 --- a/tests/sync/discovery.rs +++ b/tests/sync/discovery.rs @@ -183,7 +183,10 @@ async fn test_relay_discovery_via_announcements_with_historic_sync() { let (announcement, _git_dir_a) = setup_announcement_on_relay(&relay_a, &keys, &domain_refs, repo_id).await; let announcement_id = announcement.id; - println!("Announcement {} set up on relay_a with git data (Layer 1)", announcement_id); + println!( + "Announcement {} set up on relay_a with git data (Layer 1)", + announcement_id + ); // Build repo coordinate for Layer 2 reference let repo_coord = repo_coord(&keys, repo_id); @@ -235,4 +238,3 @@ async fn test_relay_discovery_via_announcements_with_historic_sync() { issue_id ); } - -- cgit v1.2.3