clippy --all-features

This commit is contained in:
Luke Parker 2022-09-17 06:07:49 -04:00
parent 7e17b4f2db
commit b2f6c23e2f
No known key found for this signature in database
GPG key ID: F9F1386DB1E119B6

View file

@ -35,7 +35,7 @@ pub fn scalar_normalize<F0: PrimeFieldBits + Zeroize, F1: PrimeFieldBits>(
res2 = res2.double();
let mut bit = u8::from(*raw_bit);
*raw_bit = 0;
*raw_bit = false;
res1 += F0::from(bit.into());
res2 += F1::from(bit.into());