From 0fae0f9b10d32c961ca2ef3bf6e081cd3c633b9b Mon Sep 17 00:00:00 2001 From: Surma Date: Fri, 6 Nov 2026 16:01:07 +0000 Subject: [PATCH] exec: higher-ranked lifetime for output chunks --- host/src/exec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/src/exec.rs b/host/src/exec.rs index 4dad1f4..d8f4f62 100644 --- a/host/src/exec.rs +++ b/host/src/exec.rs @@ -32,6 +32,6 @@ pub trait Exec: Send + Sync { &self, command: Command, options: Options, - output: &mut (dyn FnMut(Stream, &[u8]) + Send), + output: &mut (dyn for<'chunk> FnMut(Stream, &'chunk [u8]) + Send), ) -> anyhow::Result; }