mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-05 20:10:35 +00:00
Change Debug for Scalar output to be valid Rust code.
This commit is contained in:
parent
87f93a5df2
commit
7a0c0e9d0d
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ pub struct Scalar(pub [u8; 32]);
|
|||
|
||||
impl Debug for Scalar {
|
||||
fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result {
|
||||
write!(f, "Scalar: {:?}", &self.0[..])
|
||||
write!(f, "Scalar({:?})", &self.0[..])
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue