From 88206d84d3303a14bd4af0929c58460b5ef2d9de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Mon, 15 Nov 2021 15:25:45 +0100 Subject: [PATCH] pkstrings: change write_fmt to write! like other places MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- pkstrings/src/pkstring.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkstrings/src/pkstring.rs b/pkstrings/src/pkstring.rs index 839195c..f663561 100644 --- a/pkstrings/src/pkstring.rs +++ b/pkstrings/src/pkstring.rs @@ -133,7 +133,7 @@ impl Deref for PKString { impl fmt::Display for PKString { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - f.write_fmt(format_args!("{:?}", &self.0)) + write!(f, "{:?}", &self.0) } }