Change display for GoldilocksField

This commit is contained in:
Robin Salen
2023-04-20 07:59:34 +02:00
parent 6edd589138
commit f7f5fb4e93
+2 -2
View File
@@ -46,13 +46,13 @@ impl Hash for GoldilocksField {
impl Display for GoldilocksField {
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
Display::fmt(&self.0, f)
Display::fmt(&self.to_canonical_u64(), f)
}
}
impl Debug for GoldilocksField {
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
Debug::fmt(&self.0, f)
Debug::fmt(&self.to_canonical_u64(), f)
}
}