From d6475cc096e09cb55d3cc6e5da2b2a6e68acd67f Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Sat, 4 Feb 2023 00:44:21 +0000 Subject: [PATCH] explicit type for cache value --- taskchampion/taskchampion/src/replica.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskchampion/taskchampion/src/replica.rs b/taskchampion/taskchampion/src/replica.rs index 2f2cd4a86..4c5f00e8e 100644 --- a/taskchampion/taskchampion/src/replica.rs +++ b/taskchampion/taskchampion/src/replica.rs @@ -122,7 +122,7 @@ impl Replica { let mut dm = DependencyMap::new(); // temporary cache tracking whether tasks are considered Pending or not. - let mut is_pending_cache = HashMap::new(); + let mut is_pending_cache: HashMap = HashMap::new(); let ws = self.working_set()?; // for each task in the working set for i in 1..=ws.largest_index() {