Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-roslaniec committed Nov 15, 2022
1 parent 1d12c6e commit 1492cda
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion ferveo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ ark-ff = "0.3"
ark-serialize = "0.3"
ark-poly = "0.3"
rand = "0.8"
rand_old = { package = "rand", version = "0.7" }
either = "1.6.1"
hex = "0.4.2"
miracl_core = "2.3.0"
Expand Down
8 changes: 2 additions & 6 deletions ferveo/benches/benchmarks/pairing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ pub fn lagrange(c: &mut Criterion) {
b.iter(|| {
black_box(
subproductdomain::SubproductDomain::<Fr>::new(u.clone())
.inverse_lagrange_coefficients(), //.iter()
//.map(|x| x.inverse())
//.collect::<Vec<_>>(),
.inverse_lagrange_coefficients(),
)
})
});
Expand All @@ -41,9 +39,7 @@ pub fn lagrange(c: &mut Criterion) {
subproductdomain::SubproductDomain::<jubjub::Fr>::new(
u.clone(),
)
.inverse_lagrange_coefficients(), //.iter()
//.map(|x| x.inverse())
//.collect::<Vec<_>>(),
.inverse_lagrange_coefficients(),
)
})
});
Expand Down
1 change: 1 addition & 0 deletions tpke-wasm/src/serialization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use serde_with::Bytes;
// Serialization with serde
//

#[allow(dead_code)]
pub mod ser {
//! You can use this module for serialization and deserializing arkworks types with [serde].
//! Simply use the following attribute on your field:
Expand Down

0 comments on commit 1492cda

Please sign in to comment.