Fix: negation error
Suggested-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
3b51328aa7
commit
38791ea2f9
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ impl Store {
|
|||
let mut se = try!(hsmap.get_mut(&entry.key)
|
||||
.ok_or(StoreError::new(StoreErrorKind::IdNotFound, None)));
|
||||
|
||||
assert!(!se.is_borrowed(), "Tried to update a non borrowed entry.");
|
||||
assert!(se.is_borrowed(), "Tried to update a non borrowed entry.");
|
||||
|
||||
try!(se.write_entry(&entry.entry));
|
||||
se.status = StoreEntryStatus::Present;
|
||||
|
|
Loading…
Reference in a new issue