diff options
author | 2020-03-29 15:42:17 +0200 | |
---|---|---|
committer | 2020-03-29 15:42:17 +0200 | |
commit | 5b2c71a708f907f2b3c73bcdf56fbca5cd80adde (patch) | |
tree | a2189119225605bbecce4b983da9e95fc5e2415a /winit/src | |
parent | 57b2daa57e7312b3015817d8f400b3523f2e42a7 (diff) | |
parent | 01bc95c2a3dcaf0c2916a2d2891094e1dc1e11e5 (diff) | |
download | iced-5b2c71a708f907f2b3c73bcdf56fbca5cd80adde.tar.gz iced-5b2c71a708f907f2b3c73bcdf56fbca5cd80adde.tar.bz2 iced-5b2c71a708f907f2b3c73bcdf56fbca5cd80adde.zip |
Merge pull request #242 from kaimast/master
Some more code cleanups.
Diffstat (limited to 'winit/src')
-rw-r--r-- | winit/src/application.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winit/src/application.rs b/winit/src/application.rs index a647a1b6..b9d5fed8 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -123,7 +123,7 @@ pub trait Application: Sized { Runtime::new(executor, Proxy::new(event_loop.create_proxy())) }; - let (mut application, init_command) = runtime.enter(|| Self::new()); + let (mut application, init_command) = runtime.enter(Self::new); runtime.spawn(init_command); let subscription = application.subscription(); |