From 7bfdde8c56f306070f64a02cbb68911fba9929d7 Mon Sep 17 00:00:00 2001 From: Chris W Date: Sat, 23 Nov 2024 23:53:04 -0700 Subject: [PATCH] fix clippy warnings --- src/backends/snap.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backends/snap.rs b/src/backends/snap.rs index 54d02e0..1096cee 100644 --- a/src/backends/snap.rs +++ b/src/backends/snap.rs @@ -44,7 +44,7 @@ impl Backend for Snap { fn install_packages( packages: &BTreeMap, - no_confirm: bool, + _no_confirm: bool, _: &Config, ) -> Result<()> { if !packages.is_empty() { @@ -59,7 +59,7 @@ impl Backend for Snap { Ok(()) } - fn remove_packages(packages: &BTreeSet, no_confirm: bool, _: &Config) -> Result<()> { + fn remove_packages(packages: &BTreeSet, _no_confirm: bool, _: &Config) -> Result<()> { if !packages.is_empty() { run_command( ["snap", "remove"]