From 3135a79e907d1da67ade7ce3afb71a3d69c8aa69 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Thu, 2 Sep 2021 13:14:41 +0000 Subject: [PATCH] Clippy --- src/steps/powershell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steps/powershell.rs b/src/steps/powershell.rs index 980d63f8..b5fa0fd2 100644 --- a/src/steps/powershell.rs +++ b/src/steps/powershell.rs @@ -84,7 +84,7 @@ impl Powershell { pub fn supports_windows_update(&self) -> bool { self.path .as_ref() - .map(|p| Self::has_module(&p, "PSWindowsUpdate")) + .map(|p| Self::has_module(p, "PSWindowsUpdate")) .unwrap_or(false) }