From f51a671cc5cb06147f173fc6e4e3e3c6deaf1c62 Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Tue, 4 Jun 2024 17:01:21 +0200 Subject: [PATCH] lib: Change state mutability on tick --- src/store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store.rs b/src/store.rs index 36d56540..f8c9cfaa 100644 --- a/src/store.rs +++ b/src/store.rs @@ -24,7 +24,7 @@ where fn update(&mut self, message: Self::Message) -> Option>; /// Handle recurring tick. - fn tick(&self); + fn tick(&mut self); } /// The `Store` updates the applications' state concurrently. It handles