Remove redundant closure in Application::run
This commit is contained in:
parent
3f6c6b7b02
commit
01bc95c2a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue