forked from Proxmox/proxmox
clippy fix: warning: this let-binding has unit value
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
parent
b6abb52a78
commit
58b29dfbcf
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user