From 898dc38ec153709929d2513fb9d040dd2c1ce0fe Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 19 Mar 2021 21:23:03 +0100 Subject: =?UTF-8?q?Better=20debug=20representations=20=F0=9F=92=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/shaping.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/layout') diff --git a/src/layout/shaping.rs b/src/layout/shaping.rs index 141fa10e..1b769db7 100644 --- a/src/layout/shaping.rs +++ b/src/layout/shaping.rs @@ -54,7 +54,7 @@ impl Shaped { impl Debug for Shaped { fn fmt(&self, f: &mut Formatter) -> fmt::Result { - write!(f, "Shaped({})", self.text) + Debug::fmt(&self.text, f) } } -- cgit v1.2.3