diff --git a/src/backends/cargo.rs b/src/backends/cargo.rs index dd0c4e1..cd797ba 100644 --- a/src/backends/cargo.rs +++ b/src/backends/cargo.rs @@ -101,11 +101,7 @@ impl Backend for Cargo { Ok(()) } - fn remove_packages( - packages: &BTreeSet, - _: bool, - _: &Config, - ) -> Result<()> { + fn remove_packages(packages: &BTreeSet, _: bool, _: &Config) -> Result<()> { if !packages.is_empty() { run_command( ["cargo", "uninstall"] diff --git a/src/backends/dnf.rs b/src/backends/dnf.rs index cb5f8f7..0c9a571 100644 --- a/src/backends/dnf.rs +++ b/src/backends/dnf.rs @@ -92,11 +92,7 @@ impl Backend for Dnf { 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( ["dnf", "remove"] diff --git a/src/backends/pipx.rs b/src/backends/pipx.rs index ea4b98b..ae980b0 100644 --- a/src/backends/pipx.rs +++ b/src/backends/pipx.rs @@ -65,11 +65,7 @@ impl Backend for Pipx { Ok(()) } - fn remove_packages( - packages: &BTreeSet, - _: bool, - _: &Config, - ) -> Result<()> { + fn remove_packages(packages: &BTreeSet, _: bool, _: &Config) -> Result<()> { if !packages.is_empty() { run_command( ["pipx", "uninstall"] diff --git a/src/backends/rustup.rs b/src/backends/rustup.rs index 4b5ba2d..b5466d1 100644 --- a/src/backends/rustup.rs +++ b/src/backends/rustup.rs @@ -108,11 +108,7 @@ impl Backend for Rustup { Ok(()) } - fn remove_packages( - packages: &BTreeSet, - _: bool, - _: &Config, - ) -> Result<()> { + fn remove_packages(packages: &BTreeSet, _: bool, _: &Config) -> Result<()> { if !packages.is_empty() { for toolchain in packages.iter() { run_command( diff --git a/src/backends/xbps.rs b/src/backends/xbps.rs index 376658c..20494ef 100644 --- a/src/backends/xbps.rs +++ b/src/backends/xbps.rs @@ -77,11 +77,7 @@ impl Backend for Xbps { 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( ["xbps-remove", "-R"]