clippy: Remove redundant clones

Co-authored-by: ying tong <yingtong@z.cash>
This commit is contained in:
str4d 2021-08-19 14:34:15 +01:00 committed by GitHub
parent ac900148ed
commit bac22d9b19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ impl NoteCommitConfig {
};
// b3_c_prime = b_3 + (2^4)c + 2^140 - t_P
let b3_c_prime_check = b_3.clone() + (c.clone() * two_pow_4) + two_pow_140.clone()
let b3_c_prime_check = b_3 + (c * two_pow_4) + two_pow_140.clone()
- t_p.clone()
- b3_c_prime;