Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
lib: Change state mutability on tick
Erik Kundt committed 1 year ago
commit f51a671cc5cb06147f173fc6e4e3e3c6deaf1c62
parent 7581d889773720cfd9068eceae523d26f0046928
1 file changed +1 -1
modified src/store.rs
@@ -24,7 +24,7 @@ where
    fn update(&mut self, message: Self::Message) -> Option<Exit<P>>;

    /// Handle recurring tick.
-
    fn tick(&self);
+
    fn tick(&mut self);
}

/// The `Store` updates the applications' state concurrently. It handles