1
0
mirror of https://github.com/pcvolkmer/checkbar.git synced 2025-04-19 11:06:50 +00:00

Use variable directly in format!

This commit is contained in:
Paul-Christian Volkmer 2023-01-28 11:31:06 +01:00
parent 4684e482fa
commit c7c3773f55

View File

@ -88,7 +88,7 @@ where
where
E: Error,
{
Ok(format!("{}", v))
Ok(format!("{v}"))
}
fn visit_str<E>(self, v: &str) -> Result<Self::Value, E>