review: remove matches! usage

This commit is contained in:
Vlad Lazar
2024-11-04 14:08:26 +01:00
parent c446e3d3ab
commit 9f95864c8a

View File

@@ -1144,10 +1144,7 @@ impl Timeline {
futs.push({
let walredo_self = self.myself.upgrade().expect("&self method holds the arc");
async move {
assert!(matches!(
state.situation,
ValueReconstructSituation::Complete
));
assert_eq!(state.situation, ValueReconstructSituation::Complete);
let converted = match state.collect_pending_ios().await {
Ok(ok) => ok,