diff --git a/src/lib.rs b/src/lib.rs index fe1bd285..21b8d0da 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -188,7 +188,7 @@ where /// an interrupt broadcast channel also initialized in this function. pub async fn im(state: S, viewport: Viewport, channel: Channel) -> Result> where - S: Update + Show + Clone + Debug + Send + Sync + 'static, + S: Update + Show + Clone + Send + Sync + 'static, M: Clone + Debug + Send + Sync + 'static, P: Clone + Debug + Send + Sync + 'static, { diff --git a/src/store.rs b/src/store.rs index 5e83e564..9f4bb9b8 100644 --- a/src/store.rs +++ b/src/store.rs @@ -55,7 +55,7 @@ where impl Store where - S: Update + Clone + Debug + Send + Sync + 'static, + S: Update + Clone + Send + Sync + 'static, P: Clone + Debug + Send + Sync + 'static, { /// By calling `main_loop`, the store will wait for new messages coming