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 --- src/sync/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sync') diff --git a/src/sync/mod.rs b/src/sync/mod.rs index cd62380..36142e3 100644 --- a/src/sync/mod.rs +++ b/src/sync/mod.rs @@ -2406,7 +2406,8 @@ impl SyncManager { } // Register any new entries in repo_sync_index as StateOnly - let mut new_relay_urls: std::collections::HashSet = std::collections::HashSet::new(); + let mut new_relay_urls: std::collections::HashSet = + std::collections::HashSet::new(); { let mut index = self.repo_sync_index.write().await; for (repo_id, relays) in &announcements { -- cgit v1.2.3