From 873943410c8983607cded01c0a659d31f5b2f759 Mon Sep 17 00:00:00 2001 From: Thomas Castiglione Date: Sat, 4 May 2024 20:18:24 +0800 Subject: [PATCH] local_working_copy: fix some clippy lints that only show up on Windows --- lib/src/local_working_copy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/local_working_copy.rs b/lib/src/local_working_copy.rs index aac680bcf9..16e2f41ea3 100644 --- a/lib/src/local_working_copy.rs +++ b/lib/src/local_working_copy.rs @@ -13,6 +13,7 @@ // limitations under the License. #![allow(missing_docs)] +#![allow(clippy::let_unit_value)] use std::any::Any; use std::collections::HashSet; @@ -109,7 +110,6 @@ impl FileState { let executable = { // Windows doesn't support executable bit. let _ = executable; - () }; FileState { file_type: FileType::Normal { executable },