mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-08-24 22:21:47 +00:00
Change display for GoldilocksField
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user