From e1f0525e4e1dcf674aa7489042a06b7c7d671a2a Mon Sep 17 00:00:00 2001 From: Andreas Grois Date: Sun, 2 May 2021 16:10:34 +0200 Subject: Make runnable's run() method take a mutable self-reference. Because there is no real reason speaking against it, and it makes plugin development a lot easier. --- pulse/src/runnable/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pulse/src/runnable/mod.rs') diff --git a/pulse/src/runnable/mod.rs b/pulse/src/runnable/mod.rs index 612bca9..ca63f24 100644 --- a/pulse/src/runnable/mod.rs +++ b/pulse/src/runnable/mod.rs @@ -28,7 +28,7 @@ impl<'p : 's, 's> PulseVolumeRunnable<'p> { } impl<'p> SwayStatusModuleRunnable for PulseVolumeRunnable<'p> { - fn run(&self) { + fn run(&mut self) { //TODO } } -- cgit v1.2.3