diff --git a/examples/game_of_life/src/lib.rs b/examples/game_of_life/src/lib.rs index 0a07293e85b..b004fa9c66e 100644 --- a/examples/game_of_life/src/lib.rs +++ b/examples/game_of_life/src/lib.rs @@ -23,7 +23,7 @@ pub struct Model { cellules_width: usize, cellules_height: usize, #[allow(unused)] - job: Box, + job: Box, } impl Cellule { diff --git a/examples/multi_thread/src/context.rs b/examples/multi_thread/src/context.rs index 144c62b002f..e917e770255 100644 --- a/examples/multi_thread/src/context.rs +++ b/examples/multi_thread/src/context.rs @@ -24,7 +24,7 @@ pub enum Msg { pub struct Worker { link: AgentLink, interval: IntervalService, - task: Box, + task: Box, fetch: FetchService, } diff --git a/examples/multi_thread/src/job.rs b/examples/multi_thread/src/job.rs index 8000726785f..dc392cf54d4 100644 --- a/examples/multi_thread/src/job.rs +++ b/examples/multi_thread/src/job.rs @@ -24,7 +24,7 @@ pub enum Msg { pub struct Worker { link: AgentLink, interval: IntervalService, - task: Box, + task: Box, fetch: FetchService, } diff --git a/examples/multi_thread/src/lib.rs b/examples/multi_thread/src/lib.rs index bb09a315225..8c0e49516c1 100644 --- a/examples/multi_thread/src/lib.rs +++ b/examples/multi_thread/src/lib.rs @@ -9,10 +9,10 @@ use yew::worker::*; use yew::{html, Component, ComponentLink, Html, ShouldRender}; pub struct Model { - worker: Box>, - job: Box>, - context: Box>, - context_2: Box>, + worker: Box>, + job: Box>, + context: Box>, + context_2: Box>, } pub enum Msg { diff --git a/examples/multi_thread/src/native_worker.rs b/examples/multi_thread/src/native_worker.rs index 5980ab061d0..7e5ce0d80aa 100644 --- a/examples/multi_thread/src/native_worker.rs +++ b/examples/multi_thread/src/native_worker.rs @@ -24,7 +24,7 @@ pub enum Msg { pub struct Worker { link: AgentLink, interval: IntervalService, - task: Box, + task: Box, fetch: FetchService, } diff --git a/examples/timer/src/lib.rs b/examples/timer/src/lib.rs index e0808a7b302..87d63dcb82e 100644 --- a/examples/timer/src/lib.rs +++ b/examples/timer/src/lib.rs @@ -10,9 +10,9 @@ pub struct Model { console: ConsoleService, callback_tick: Callback<()>, callback_done: Callback<()>, - job: Option>, + job: Option>, messages: Vec<&'static str>, - _standalone: Box, + _standalone: Box, } pub enum Msg {