mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-05-02 00:03:13 +00:00
Change display for GoldilocksField
This commit is contained in:
parent
6edd589138
commit
f7f5fb4e93
@ -46,13 +46,13 @@ impl Hash for GoldilocksField {
|
|||||||
|
|
||||||
impl Display for GoldilocksField {
|
impl Display for GoldilocksField {
|
||||||
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
|
||||||
Display::fmt(&self.0, f)
|
Display::fmt(&self.to_canonical_u64(), f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Debug for GoldilocksField {
|
impl Debug for GoldilocksField {
|
||||||
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
|
||||||
Debug::fmt(&self.0, f)
|
Debug::fmt(&self.to_canonical_u64(), f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user