aboutsummaryrefslogtreecommitdiff
path: root/clock
diff options
context:
space:
mode:
Diffstat (limited to 'clock')
-rw-r--r--clock/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clock/src/lib.rs b/clock/src/lib.rs
index adde06e..74c1241 100644
--- a/clock/src/lib.rs
+++ b/clock/src/lib.rs
@@ -138,7 +138,7 @@ impl SwayStatusModuleInstance for ClockConfig {
fn make_runnable<'p>(&'p self, to_main : Box<dyn MsgModuleToMain + 'p>) -> (Box<dyn SwayStatusModuleRunnable + 'p>, Box<dyn MsgMainToModule + 'p>) {
let (sender_from_main, from_main) = channel();
let runnable = ClockRunnable {
- config : &self,
+ config : self,
from_main,
to_main
};