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:
parent
4684e482fa
commit
c7c3773f55
@ -88,7 +88,7 @@ where
|
|||||||
where
|
where
|
||||||
E: Error,
|
E: Error,
|
||||||
{
|
{
|
||||||
Ok(format!("{}", v))
|
Ok(format!("{v}"))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn visit_str<E>(self, v: &str) -> Result<Self::Value, E>
|
fn visit_str<E>(self, v: &str) -> Result<Self::Value, E>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user