mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-15 16:00:38 +08:00
lib: Remove debug requirement from app state
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user