pkstrings: Use converted PKString result in Display
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
99043c9dd2
commit
6e32a71c0e
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,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 {
|
||||||
write!(f, "{:?}", &self.0)
|
write!(f, "{:?}", String::from(self))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue