Revert change to unwrap_err() here, trait bounds not fulfilled
This commit is contained in:
parent
01c226f0ca
commit
381a9b3f5b
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ impl<'a> Counter<'a> {
|
||||||
let fle = {
|
let fle = {
|
||||||
let lockentry = store.create(ModuleEntryPath::new(name.clone()).into_storeid());
|
let lockentry = store.create(ModuleEntryPath::new(name.clone()).into_storeid());
|
||||||
if lockentry.is_err() {
|
if lockentry.is_err() {
|
||||||
return Err(CE::new(CEK::StoreWriteError, Some(Box::new(lockentry.unwrap_err()))));
|
return Err(CE::new(CEK::StoreWriteError, Some(Box::new(lockentry.err().unwrap()))));
|
||||||
}
|
}
|
||||||
let mut lockentry = lockentry.unwrap();
|
let mut lockentry = lockentry.unwrap();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue