diff --git a/storage-proofs/core/benches/drgraph.rs b/storage-proofs/core/benches/drgraph.rs index 7746ad1985..f7afb7f585 100644 --- a/storage-proofs/core/benches/drgraph.rs +++ b/storage-proofs/core/benches/drgraph.rs @@ -2,6 +2,7 @@ use criterion::{black_box, criterion_group, criterion_main, Criterion, Parameter use storage_proofs_core::drgraph::*; use storage_proofs_core::hasher::pedersen::*; +#[allow(clippy::unit_arg)] fn drgraph(c: &mut Criterion) { let params = vec![12, 24, 128, 1024]; diff --git a/storage-proofs/porep/benches/parents.rs b/storage-proofs/porep/benches/parents.rs index bda0167685..39b328048a 100644 --- a/storage-proofs/porep/benches/parents.rs +++ b/storage-proofs/porep/benches/parents.rs @@ -46,6 +46,7 @@ fn parents_loop>(graph: &G, parents: &mut [u32]) { .collect() } +#[allow(clippy::unit_arg)] fn parents_loop_benchmark(cc: &mut Criterion) { let sizes = vec![10, 50, 1000];