Update crate versions (#119)

* update crate versions

* fix clippy issues

* cargo fmt
This commit is contained in:
Srinath Setty
2022-11-21 10:42:11 -08:00
committed by GitHub
parent f9672faf23
commit 6044aff625
5 changed files with 11 additions and 18 deletions

View File

@@ -147,7 +147,7 @@ where
let negone = -<G::Scalar>::one();
let powers_of_two = (0..G::Scalar::NUM_BITS)
.map(|i| G::Scalar::from(2u64).pow_vartime(&[u64::from(i)]))
.map(|i| G::Scalar::from(2u64).pow_vartime([u64::from(i)]))
.collect::<Vec<_>>();
let pp = |s: &mut String, lc: &LinearCombination<G::Scalar>| {