From e114d1b68f253d0faa014a04604a9a41c7cfe401 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Thu, 18 Sep 2025 15:59:09 -0700 Subject: [PATCH] ChildContext::command: return type is `'static` --- src/child_context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/child_context.rs b/src/child_context.rs index 169e2fe..0026e5f 100644 --- a/src/child_context.rs +++ b/src/child_context.rs @@ -39,7 +39,7 @@ impl ChildContext { } /// Get a reference to the command which produced this child process. - pub fn command(&self) -> &(dyn CommandDisplay + Send + Sync) { + pub fn command(&self) -> &(dyn CommandDisplay + Send + Sync + 'static) { self.command.borrow() } }