From 9ca65c9f18454ba2bb3ff5667d9618a1491771db Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez <hector0193@gmail.com> Date: Wed, 18 Dec 2019 23:57:02 +0100 Subject: Fix missing `Subscription` type in `iced_web` --- src/application.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/application.rs') diff --git a/src/application.rs b/src/application.rs index 98e160ce..a7e826fb 100644 --- a/src/application.rs +++ b/src/application.rs @@ -146,12 +146,12 @@ pub trait Application: Sized { /// It should probably be that last thing you call in your `main` function. /// /// [`Application`]: trait.Application.html - fn run(settings: Settings) + fn run(_settings: Settings) where Self: 'static, { #[cfg(not(target_arch = "wasm32"))] - <Instance<Self> as iced_winit::Application>::run(settings.into()); + <Instance<Self> as iced_winit::Application>::run(_settings.into()); #[cfg(target_arch = "wasm32")] <Instance<Self> as iced_web::Application>::run(); -- cgit