diff options
author | 2024-03-17 19:42:43 +0100 | |
---|---|---|
committer | 2024-03-17 19:42:43 +0100 | |
commit | cab9dec6267f3e38b2dee2a0262cd04e21a7519e (patch) | |
tree | d8df566d3f6f540f75cf902931045261c7784e1a /src/application.rs | |
parent | cdb18e610a72b4a025d7e1890140393adee5b087 (diff) | |
download | iced-cab9dec6267f3e38b2dee2a0262cd04e21a7519e.tar.gz iced-cab9dec6267f3e38b2dee2a0262cd04e21a7519e.tar.bz2 iced-cab9dec6267f3e38b2dee2a0262cd04e21a7519e.zip |
Remove `'static'` bound for `P::State` in `Program::run_with`
Diffstat (limited to 'src/application.rs')
-rw-r--r-- | src/application.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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<Self::Flags>) -> crate::Result where - Self: 'static, + Self::Message: 'static, + Self::Executor: 'static, { #[allow(clippy::needless_update)] let renderer_settings = crate::renderer::Settings { |