aboutsummaryrefslogtreecommitdiff
path: root/swaystatus-plugin/src
diff options
context:
space:
mode:
Diffstat (limited to 'swaystatus-plugin/src')
-rw-r--r--swaystatus-plugin/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaystatus-plugin/src/lib.rs b/swaystatus-plugin/src/lib.rs
index a9859c8..8a632cf 100644
--- a/swaystatus-plugin/src/lib.rs
+++ b/swaystatus-plugin/src/lib.rs
@@ -156,7 +156,7 @@ pub trait SwayStatusModule {
///Will be called in a worker thread.
pub trait SwayStatusModuleRunnable : Send {
///Starts executing this module.
- fn run(&mut self);
+ fn run(&self);
}
///Implement this trait on a struct that holds the configuration for a single instance of your