From c08333e0cdbf0cb47253abe1eb856f3f80e4a9ea Mon Sep 17 00:00:00 2001 From: Timothy Clem Date: Wed, 17 Jun 2020 10:35:07 -0700 Subject: [PATCH] Defer to debug formatting take 2 --- tags/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tags/src/lib.rs b/tags/src/lib.rs index e6179b8b..dd74f833 100644 --- a/tags/src/lib.rs +++ b/tags/src/lib.rs @@ -483,7 +483,7 @@ impl NamedCapture { impl fmt::Display for SyntaxType { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "{:?}", self) + format!("{:?}", self).fmt(f) } }