Change Debug for Scalar output to be valid Rust code.

This commit is contained in:
Isis Lovecruft 2017-11-26 03:26:29 +00:00
parent 87f93a5df2
commit 7a0c0e9d0d
Failed to extract signature

View file

@ -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[..])
}
}