mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-02-01 08:12:14 +00:00
ff_derive: Fix a clippy issue in generated code
This shows up as a clippy warning in the pairing crate.
This commit is contained in:
parent
3c84625438
commit
620213a0f0
@ -465,7 +465,7 @@ fn prime_field_constants_and_sqrt(
|
||||
let result = x * &z;
|
||||
x = #name::conditional_select(&result, &x, b.ct_eq(&#name::one()));
|
||||
z = z.square();
|
||||
b = b * &z;
|
||||
b *= &z;
|
||||
v = k;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user