Skip to content

Commit

Permalink
fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
watzon authored and ripytide committed Nov 24, 2024
1 parent 81be29e commit 7bfdde8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backends/snap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl Backend for Snap {

fn install_packages(
packages: &BTreeMap<String, Self::InstallOptions>,
no_confirm: bool,
_no_confirm: bool,
_: &Config,
) -> Result<()> {
if !packages.is_empty() {
Expand All @@ -59,7 +59,7 @@ impl Backend for Snap {
Ok(())
}

fn remove_packages(packages: &BTreeSet<String>, no_confirm: bool, _: &Config) -> Result<()> {
fn remove_packages(packages: &BTreeSet<String>, _no_confirm: bool, _: &Config) -> Result<()> {
if !packages.is_empty() {
run_command(
["snap", "remove"]
Expand Down

0 comments on commit 7bfdde8

Please sign in to comment.