From be33720925064f11cd9212e44f38099935a8c7d7 Mon Sep 17 00:00:00 2001 From: Lol3rrr Date: Tue, 31 Oct 2023 00:07:02 +0100 Subject: [PATCH] Tried a small chang --- src/storage/replicated.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/replicated.rs b/src/storage/replicated.rs index 6c93b3d..570905f 100644 --- a/src/storage/replicated.rs +++ b/src/storage/replicated.rs @@ -27,7 +27,7 @@ where let pres = pfut.await; let sres = sfut.await; - pres.or(sres) + pres.ok().or(sres.ok()).ok_or(()) }) }