diff --git a/src/scalar.rs b/src/scalar.rs index fcdc196..a7a8310 100644 --- a/src/scalar.rs +++ b/src/scalar.rs @@ -599,7 +599,7 @@ impl Scalar { /// # } /// ``` pub fn from_hash(hash: D) -> Scalar - where D: Digest + Default + where D: Digest { let mut output = [0u8; 64]; output.copy_from_slice(hash.result().as_slice());