diff options
author | 2019-12-18 23:57:02 +0100 | |
---|---|---|
committer | 2019-12-18 23:57:02 +0100 | |
commit | 9ca65c9f18454ba2bb3ff5667d9618a1491771db (patch) | |
tree | e1cb5b415fc64fd169509fcf98f74819a856e674 /src/application.rs | |
parent | 0f2e20f5e5b1f0658ab4e6cbe6fdda9ca97f2b36 (diff) | |
download | iced-9ca65c9f18454ba2bb3ff5667d9618a1491771db.tar.gz iced-9ca65c9f18454ba2bb3ff5667d9618a1491771db.tar.bz2 iced-9ca65c9f18454ba2bb3ff5667d9618a1491771db.zip |
Fix missing `Subscription` type in `iced_web`
Diffstat (limited to 'src/application.rs')
-rw-r--r-- | src/application.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |