From 39f2ebd2d6a8e1d4d47e8a08c799d23dce46fa0f Mon Sep 17 00:00:00 2001 From: DecDuck Date: Mon, 20 Jan 2025 17:29:33 +1100 Subject: [PATCH] fix(download agent): fixed completed indexes --- src-tauri/src/games/downloads/download_agent.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/games/downloads/download_agent.rs b/src-tauri/src/games/downloads/download_agent.rs index 21b15b6..326bd6d 100644 --- a/src-tauri/src/games/downloads/download_agent.rs +++ b/src-tauri/src/games/downloads/download_agent.rs @@ -302,7 +302,7 @@ impl GameDownloadAgent { let completed_lock_len = { let mut completed_contexts_lock = self.completed_contexts.lock().unwrap(); - for (item, _) in newly_completed.iter() { + for (_, item) in newly_completed.iter() { completed_contexts_lock.push_front(item); }