From 13c8f32ceb3a3e8566a6d2512e65ff2ed191c18c 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 aac680bcf..16e2f41ea 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 },