diff options
| author | 2019-12-19 17:07:20 +0100 | |
|---|---|---|
| committer | 2019-12-19 17:07:20 +0100 | |
| commit | 9cf61fb82cb715ab0af15343be258b2b227d85f4 (patch) | |
| tree | 1a6460ba8981b0bcef2bd64e975e0021425ac823 /src | |
| parent | c822ea753e6121cc53aa1a75112af6063e3e06dd (diff) | |
| parent | 68c8ebcd775416d5eb8efa9c095bbe1d44d964ad (diff) | |
| download | iced-9cf61fb82cb715ab0af15343be258b2b227d85f4.tar.gz iced-9cf61fb82cb715ab0af15343be258b2b227d85f4.tar.bz2 iced-9cf61fb82cb715ab0af15343be258b2b227d85f4.zip | |
Merge pull request #131 from hecrj/fix/web-subscription-missing
Fix `Subscription` missing in `iced_web`
Diffstat (limited to '')
| -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(); | 
