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/common/sync_helpers.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/common/sync_helpers.rs') diff --git a/tests/common/sync_helpers.rs b/tests/common/sync_helpers.rs index af51e78..611b1a5 100644 --- a/tests/common/sync_helpers.rs +++ b/tests/common/sync_helpers.rs @@ -1240,8 +1240,11 @@ pub async fn push_unique_git_data_to_relay( git(path, &["config", "commit.gpgsign", "false"]); // Write a unique file so each maintainer gets a distinct commit hash - std::fs::write(path.join("state_test.txt"), "State test content for purgatory sync") - .expect("write state_test.txt"); + std::fs::write( + path.join("state_test.txt"), + "State test content for purgatory sync", + ) + .expect("write state_test.txt"); std::fs::write(path.join(".unique"), unique_seed).expect("write .unique"); git(path, &["add", "."]); git(path, &["commit", "-m", "State test commit"]); -- cgit v1.2.3