diff options
Diffstat (limited to 'swaystatus-plugin/src/lib.rs')
| -rw-r--r-- | swaystatus-plugin/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaystatus-plugin/src/lib.rs b/swaystatus-plugin/src/lib.rs index 8a632cf..a9859c8 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(&self); + fn run(&mut self); } ///Implement this trait on a struct that holds the configuration for a single instance of your |
