diff options
author | 2020-03-29 15:22:56 +0200 | |
---|---|---|
committer | 2020-03-29 15:22:56 +0200 | |
commit | 01bc95c2a3dcaf0c2916a2d2891094e1dc1e11e5 (patch) | |
tree | a2189119225605bbecce4b983da9e95fc5e2415a /winit | |
parent | 3f6c6b7b029730e01bd18480f162a2eae692744f (diff) | |
download | iced-01bc95c2a3dcaf0c2916a2d2891094e1dc1e11e5.tar.gz iced-01bc95c2a3dcaf0c2916a2d2891094e1dc1e11e5.tar.bz2 iced-01bc95c2a3dcaf0c2916a2d2891094e1dc1e11e5.zip |
Remove redundant closure in `Application::run`
Diffstat (limited to 'winit')
-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(); |