diff --git a/examples/message_list/desktop.rs b/examples/message_list/desktop.rs index c847e11..1d6a6a9 100644 --- a/examples/message_list/desktop.rs +++ b/examples/message_list/desktop.rs @@ -6,5 +6,5 @@ mod app; fn main() { let attributes = WindowAttributes::default().with_inner_size(LogicalSize::new(420.0, 900.0)); - DesktopApp::::run_with_attributes(attributes, app::build); + DesktopApp::run_with_attributes(attributes, app::build); } diff --git a/examples/minimal/desktop.rs b/examples/minimal/desktop.rs index 50ca308..63fade8 100644 --- a/examples/minimal/desktop.rs +++ b/examples/minimal/desktop.rs @@ -4,5 +4,5 @@ use iris::prelude::*; mod app; fn main() { - DesktopApp::::run_with(app::build); + DesktopApp::run_with(app::build); } diff --git a/examples/task/desktop.rs b/examples/task/desktop.rs index 50ca308..63fade8 100644 --- a/examples/task/desktop.rs +++ b/examples/task/desktop.rs @@ -4,5 +4,5 @@ use iris::prelude::*; mod app; fn main() { - DesktopApp::::run_with(app::build); + DesktopApp::run_with(app::build); } diff --git a/examples/view/desktop.rs b/examples/view/desktop.rs index 50ca308..63fade8 100644 --- a/examples/view/desktop.rs +++ b/examples/view/desktop.rs @@ -4,5 +4,5 @@ use iris::prelude::*; mod app; fn main() { - DesktopApp::::run_with(app::build); + DesktopApp::run_with(app::build); } diff --git a/readme.md b/readme.md index 9e34aa6..006cf50 100644 --- a/readme.md +++ b/readme.md @@ -49,7 +49,7 @@ fn create( Desktop has the corresponding initializer form: ```rust -DesktopApp::::run_with(build); +DesktopApp::run_with(build); ``` Background work updates either host through the same task context. An update diff --git a/src/desktop/mod.rs b/src/desktop/mod.rs index 743bdf4..7cf5479 100644 --- a/src/desktop/mod.rs +++ b/src/desktop/mod.rs @@ -110,7 +110,7 @@ impl DesktopAppState for DesktopUiState { } } -pub struct DesktopApp { +pub struct DesktopApp { rsc: StdRsc, state: State, task_recv: TaskMsgReceiver>,