From cab9dec6267f3e38b2dee2a0262cd04e21a7519e Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 17 Mar 2024 19:42:43 +0100 Subject: Remove `'static'` bound for `P::State` in `Program::run_with` --- src/application.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/application.rs') diff --git a/src/application.rs b/src/application.rs index 8317abcb..a44d6342 100644 --- a/src/application.rs +++ b/src/application.rs @@ -192,7 +192,8 @@ where /// [`Error`]: crate::Error fn run(settings: Settings) -> crate::Result where - Self: 'static, + Self::Message: 'static, + Self::Executor: 'static, { #[allow(clippy::needless_update)] let renderer_settings = crate::renderer::Settings { -- cgit