File pika-backup-function-depends-on-never-type-fallback-being.patch of Package pika-backup

From 842d93d65a342985bf6d7d8cacd5b38ea508df2e Mon Sep 17 00:00:00 2001
From: Sophie Herold <sophie@hemio.de>
Date: Mon, 23 Sep 2024 22:23:31 +0200
Subject: [PATCH] code: Don't assume `!` getting interpreted as `()`

Makes code future proof
---
 src/borg/functions.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/borg/functions.rs b/src/borg/functions.rs
index 28f134b3e..439516f64 100644
--- a/src/borg/functions.rs
+++ b/src/borg/functions.rs
@@ -102,7 +102,7 @@ impl CommandRun<task::PruneInfo> for Command<task::PruneInfo> {
         let mut borg_call = prune_call(&self).await?;
         borg_call.add_options(["--dry-run", "--list"]);
 
-        borg_call.output(&self.communication).await?;
+        borg_call.output::<_, ()>(&self.communication).await?;
 
         let messages = self
             .communication
-- 
GitLab

openSUSE Build Service is sponsored by