Remove unused "mut" from Store::delete()
This commit is contained in:
parent
8dfccba0b8
commit
4390c39a6c
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue