mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-02-11 17:55:46 +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;
|
let result = x * &z;
|
||||||
x = #name::conditional_select(&result, &x, b.ct_eq(&#name::one()));
|
x = #name::conditional_select(&result, &x, b.ct_eq(&#name::one()));
|
||||||
z = z.square();
|
z = z.square();
|
||||||
b = b * &z;
|
b *= &z;
|
||||||
v = k;
|
v = k;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user