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:
Jack Grigg 2020-01-14 21:58:22 -05:00
parent 3c84625438
commit 620213a0f0
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}