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) } }