From 6277f4351fd68f1cdd434818eac7b0d18eac3c76 Mon Sep 17 00:00:00 2001 From: Andreas Grois Date: Mon, 29 Nov 2021 22:38:44 +0100 Subject: Run clippy and fix all lints. --- pulse/src/config.rs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'pulse/src/config.rs') diff --git a/pulse/src/config.rs b/pulse/src/config.rs index f95bd46..0be7367 100644 --- a/pulse/src/config.rs +++ b/pulse/src/config.rs @@ -128,7 +128,7 @@ impl Default for PulseVolumeConfig { impl SwayStatusModuleInstance for PulseVolumeConfig { fn make_runnable<'p>(&'p self,to_main : Box) -> (Box, Box) { - let (runnable, sender_for_main) = crate::runnable::PulseVolumeRunnable::new(&self, to_main); + let (runnable, sender_for_main) = crate::runnable::PulseVolumeRunnable::new(self, to_main); (Box::new(runnable), Box::new(sender_for_main)) } } @@ -162,13 +162,11 @@ impl FormatableVolume String { -- cgit v1.2.3