From f75e1c59aacf5ce668fd327e4e3d827511661c2a Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 8 Jan 2026 00:50:54 +0000 Subject: chore: cargo fmt --- src/purgatory/sync/context.rs | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'src/purgatory/sync/context.rs') diff --git a/src/purgatory/sync/context.rs b/src/purgatory/sync/context.rs index 2922f10..9e195c7 100644 --- a/src/purgatory/sync/context.rs +++ b/src/purgatory/sync/context.rs @@ -119,12 +119,8 @@ pub trait SyncContext: Send + Sync { /// /// # Returns /// List of OIDs that were successfully fetched - async fn fetch_oids( - &self, - repo_path: &Path, - url: &str, - oids: &[String], - ) -> Result>; + async fn fetch_oids(&self, repo_path: &Path, url: &str, oids: &[String]) + -> Result>; /// Process newly available git data. /// @@ -368,10 +364,7 @@ impl SyncContext for RealSyncContext { .cloned() .collect(); - debug!( - fetched_count = fetched.len(), - "Successfully fetched OIDs" - ); + debug!(fetched_count = fetched.len(), "Successfully fetched OIDs"); fetched } @@ -702,11 +695,7 @@ pub mod mock { } // Get OIDs this URL can provide - let provides = self - .url_provides_oids - .get(url) - .cloned() - .unwrap_or_default(); + let provides = self.url_provides_oids.get(url).cloned().unwrap_or_default(); // Find which requested OIDs this URL can provide let fetched: Vec = oids -- cgit v1.2.3