From d822f7af6d319d1c8d8a80262fb11ef0efb1b6a5 Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Wed, 2 Oct 2024 10:59:45 +0200 Subject: [PATCH] lib: Remove debug requirement from app state --- src/lib.rs | 2 +- src/store.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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