exec: higher-ranked lifetime for output chunks

This commit is contained in:
2026-11-06 16:01:07 +00:00
parent 964ef978c2
commit 0fae0f9b10
+1 -1
View File
@@ -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<i32>;
}