mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Remove unnecessary trait bound
This commit is contained in:
parent
ca6305232f
commit
f612dd9dfa
1 changed files with 1 additions and 1 deletions
|
|
@ -599,7 +599,7 @@ impl Scalar {
|
|||
/// # }
|
||||
/// ```
|
||||
pub fn from_hash<D>(hash: D) -> Scalar
|
||||
where D: Digest<OutputSize = U64> + Default
|
||||
where D: Digest<OutputSize = U64>
|
||||
{
|
||||
let mut output = [0u8; 64];
|
||||
output.copy_from_slice(hash.result().as_slice());
|
||||
|
|
|
|||
Loading…
Reference in a new issue