further refactoring

This commit is contained in:
Simon Gardling
2022-05-16 17:20:08 -04:00
parent 62944783ca
commit 6d06c25fac
5 changed files with 10 additions and 27 deletions

View File

@@ -150,7 +150,7 @@ impl MathApp {
return None;
}
let (commit, cached_data) = crate::misc::hashed_storage_read(data);
let (commit, cached_data) = crate::misc::hashed_storage_read(data)?;
debug_assert!(!commit.is_empty());
debug_assert!(!cached_data.is_empty());
@@ -188,7 +188,7 @@ impl MathApp {
return None;
}
let (commit, func_data) = crate::misc::hashed_storage_read(data);
let (commit, func_data) = crate::misc::hashed_storage_read(data)?;
debug_assert!(!commit.is_empty());
debug_assert!(!func_data.is_empty());