mirror of
https://git.proxmox.com/git/proxmox
synced 2025-06-22 08:13:40 +00:00
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)),
|
_ => return Err(E::invalid_type(Unexpected::Str(value), &self)),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#[allow(clippy::let_unit_value)]
|
||||||
let _: () = schema.check_constraints(value).map_err(E::custom)?;
|
let _: () = schema.check_constraints(value).map_err(E::custom)?;
|
||||||
|
|
||||||
Ok(Verifier)
|
Ok(Verifier)
|
||||||
|
Loading…
Reference in New Issue
Block a user