From bd46b254af6bb46628fc49f89775389d33334139 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Sun, 24 Dec 2023 20:14:17 -0500 Subject: [PATCH] Fix unnecessary mut (#3224) --- taskchampion/sync-server/src/storage/inmemory.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskchampion/sync-server/src/storage/inmemory.rs b/taskchampion/sync-server/src/storage/inmemory.rs index 9f2e1ec0d..3b17720eb 100644 --- a/taskchampion/sync-server/src/storage/inmemory.rs +++ b/taskchampion/sync-server/src/storage/inmemory.rs @@ -66,7 +66,7 @@ impl<'a> StorageTxn for InnerTxn<'a> { snapshot: Snapshot, data: Vec, ) -> anyhow::Result<()> { - let mut client = self + let client = self .0 .clients .get_mut(&client_id)