From 7f48e8fe6668c5b2fdc62cc70e6bcffb744f411c Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 31 Aug 2021 16:25:12 +0200 Subject: Make user-facing "debug" representation use Debug instead of Display --- tests/typeset.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/typeset.rs b/tests/typeset.rs index 41f12f2e..83b43ce0 100644 --- a/tests/typeset.rs +++ b/tests/typeset.rs @@ -388,7 +388,7 @@ fn draw(ctx: &Context, frames: &[Rc], dpp: f32) -> sk::Pixmap { let pixel_height = (dpp * height.to_pt() as f32) as u32; if pixel_width > 4000 || pixel_height > 4000 { panic!( - "overlarge image: {} by {} ({} x {})", + "overlarge image: {} by {} ({:?} x {:?})", pixel_width, pixel_height, width, height, ); } -- cgit v1.2.3