Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
lib: Remove debug requirement from app state
Erik Kundt committed 1 year ago
commit d822f7af6d319d1c8d8a80262fb11ef0efb1b6a5
parent 5053e81ec993b76fe35b2ab2aa4d4b61abd5123f
2 files changed +2 -2
modified src/lib.rs
@@ -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,
{
modified src/store.rs
@@ -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