mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Include fix length in debug string
This commit is contained in:
parent
8b2dfdffc1
commit
8b1ad400a7
|
@ -226,6 +226,6 @@ impl<const N: usize> Display for Num<N> {
|
||||||
|
|
||||||
impl<const N: usize> Debug for Num<N> {
|
impl<const N: usize> Debug for Num<N> {
|
||||||
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
|
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
|
||||||
write!(f, "{}", self)
|
write!(f, "Num<{}>({})", N, self)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue