Revert change to unwrap_err() here, trait bounds not fulfilled
This commit is contained in:
parent
0bb40fca11
commit
01c226f0ca
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ impl Store {
|
||||||
|
|
||||||
if guard.is_err() {
|
if guard.is_err() {
|
||||||
return Err(StoreError::new(StoreErrorKind::HookRegisterError,
|
return Err(StoreError::new(StoreErrorKind::HookRegisterError,
|
||||||
Some(Box::new(guard.unwrap_err()))));
|
Some(Box::new(guard.err().unwrap()))));
|
||||||
}
|
}
|
||||||
let mut guard = guard.unwrap();
|
let mut guard = guard.unwrap();
|
||||||
for mut aspect in guard.deref_mut() {
|
for mut aspect in guard.deref_mut() {
|
||||||
|
|
Loading…
Reference in a new issue