Fix a clippy lint.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2021-02-22 16:02:38 +00:00
parent e408a351d5
commit 16e5f96f3f
1 changed files with 1 additions and 1 deletions

View File

@ -50,9 +50,9 @@ pub fn hash_to_field<F: FieldExt>(message: &[u8], domain_separation_tag: &[u8],
.update(&[1])
.update(&dst_prime),
);
let mut empty_hasher = empty_hasher;
let b_2 = finalize(
empty_hasher
.clone()
.update(&xor(&b_0, &b_1))
.update(&[2])
.update(&dst_prime),