From 4390c39a6c74d45e8154d4bf02b0bea6f5458ef4 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 1 Mar 2016 21:12:57 +0100 Subject: [PATCH] Remove unused "mut" from Store::delete() --- libimagstore/src/store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index 4c8a18c1..889650ee 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -233,7 +233,7 @@ impl Store { return Err(StoreError::new(StoreErrorKind::StorePathOutsideStore, None)); } - let mut entries_lock = self.entries.write(); + let entries_lock = self.entries.write(); if entries_lock.is_err() { return Err(StoreError::new(StoreErrorKind::LockPoisoned, None)) }