pkstrings: change write_fmt to write! like other places

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2021-11-15 15:25:45 +01:00
parent 7fa4a2079a
commit 88206d84d3
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -133,7 +133,7 @@ impl Deref for PKString {
impl fmt::Display for PKString { impl fmt::Display for PKString {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_fmt(format_args!("{:?}", &self.0)) write!(f, "{:?}", &self.0)
} }
} }