From 8b1ad400a70e37f3cdc11fef718ea03dde065854 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Sat, 5 Jun 2021 17:23:06 +0100 Subject: [PATCH] Include fix length in debug string --- agb/src/number.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agb/src/number.rs b/agb/src/number.rs index c09b60f7..9be14ef4 100644 --- a/agb/src/number.rs +++ b/agb/src/number.rs @@ -226,6 +226,6 @@ impl Display for Num { impl Debug for Num { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - write!(f, "{}", self) + write!(f, "Num<{}>({})", N, self) } }