From 58b29dfbcf164562a5e83c66fec4cc41b5e509c3 Mon Sep 17 00:00:00 2001 From: Lukas Wagner Date: Tue, 8 Aug 2023 10:01:49 +0200 Subject: [PATCH] clippy fix: warning: this let-binding has unit value Signed-off-by: Lukas Wagner --- proxmox-schema/src/de/verify.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/proxmox-schema/src/de/verify.rs b/proxmox-schema/src/de/verify.rs index 71e87b0e..0ed47138 100644 --- a/proxmox-schema/src/de/verify.rs +++ b/proxmox-schema/src/de/verify.rs @@ -292,6 +292,7 @@ impl<'de> de::Visitor<'de> for Visitor { _ => return Err(E::invalid_type(Unexpected::Str(value), &self)), }; + #[allow(clippy::let_unit_value)] let _: () = schema.check_constraints(value).map_err(E::custom)?; Ok(Verifier)