mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-28 18:15:28 +00:00
clippy fix: useless use of format!
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
parent
58b29dfbcf
commit
6c38a997af
@ -290,13 +290,9 @@ impl<'de, 'i> de::Deserializer<'de> for SchemaDeserializer<'de, 'i> {
|
||||
Some(schema::ApiStringFormat::PropertyString(schema)) => {
|
||||
self.deserialize_property_string(visitor, schema)
|
||||
}
|
||||
_ => Err(Error::msg(format!(
|
||||
"cannot deserialize map with a string schema",
|
||||
))),
|
||||
_ => Err(Error::msg("cannot deserialize map with a string schema")),
|
||||
},
|
||||
_ => Err(Error::msg(format!(
|
||||
"cannot deserialize map with non-object schema",
|
||||
))),
|
||||
_ => Err(Error::msg("cannot deserialize map with non-object schema")),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user