lib: Remove debug requirement from app state

This commit is contained in:
Erik Kundt
2024-10-02 17:11:14 +02:00
parent 5053e81ec9
commit d822f7af6d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ where
/// an interrupt broadcast channel also initialized in this function.
pub async fn im<S, M, P>(state: S, viewport: Viewport, channel: Channel<M>) -> Result<Option<P>>
where
S: Update<M, Return = P> + Show<M> + Clone + Debug + Send + Sync + 'static,
S: Update<M, Return = P> + Show<M> + Clone + Send + Sync + 'static,
M: Clone + Debug + Send + Sync + 'static,
P: Clone + Debug + Send + Sync + 'static,
{
+1 -1
View File
@@ -55,7 +55,7 @@ where
impl<S, M, P> Store<S, M, P>
where
S: Update<M, Return = P> + Clone + Debug + Send + Sync + 'static,
S: Update<M, Return = P> + Clone + Send + Sync + 'static,
P: Clone + Debug + Send + Sync + 'static,
{
/// By calling `main_loop`, the store will wait for new messages coming