diff options
| author | Andreas Grois <andi@grois.info> | 2021-05-03 08:20:40 +0200 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2021-05-03 08:20:40 +0200 |
| commit | 0b6a4634675f27b88bb61b54f2b3711d0cd2f1a0 (patch) | |
| tree | bfccbfb31a64a33ae5b0b0ed0c7bfb38883d2282 /pulse/src | |
| parent | b41d3d0b383b27e583f4d3f108ae9dcd48090ca8 (diff) | |
Revert "Make runnable's run() method take a mutable self-reference."
This reverts commit e1f0525e4e1dcf674aa7489042a06b7c7d671a2a.
I've decided against having mutable self-references. It's a bit less
convenient, but more sane. Also, the revert can be reverted any time,
should the need arise.
Diffstat (limited to 'pulse/src')
| -rw-r--r-- | pulse/src/runnable/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pulse/src/runnable/mod.rs b/pulse/src/runnable/mod.rs index ca63f24..612bca9 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(&mut self) { + fn run(&self) { //TODO } } |
