Update to latest Rust and fix Clippy warnings (#37)

* Update to latest Rust and fix Clippy warnings

* cleanup
This commit is contained in:
Srinath Setty
2021-10-14 16:11:19 -07:00
committed by GitHub
parent f465aed924
commit 19d1d63703
19 changed files with 227 additions and 249 deletions

View File

@@ -19,7 +19,7 @@ pub fn main() {
println!("Profiler:: NIZK");
for &s in inst_sizes.iter() {
let num_vars = (2 as usize).pow(s as u32);
let num_vars = (2_usize).pow(s as u32);
let num_cons = num_vars;
let num_inputs = 10;

View File

@@ -18,7 +18,7 @@ pub fn main() {
println!("Profiler:: SNARK");
for &s in inst_sizes.iter() {
let num_vars = (2 as usize).pow(s as u32);
let num_vars = (2_usize).pow(s as u32);
let num_cons = num_vars;
let num_inputs = 10;