From 152e7cd6033cb92f164fe1b110342dc5845f3e4e Mon Sep 17 00:00:00 2001 From: Jonathan Wang <31040440+jonathanpwang@users.noreply.github.com> Date: Wed, 16 Aug 2023 18:25:01 -0700 Subject: [PATCH] chore: minor fixes --- halo2-base/src/poseidon/mds.rs | 1 + halo2-base/src/poseidon/state.rs | 2 +- halo2-base/src/poseidon/{tests.rs => tests/mod.rs} | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) rename halo2-base/src/poseidon/{tests.rs => tests/mod.rs} (95%) diff --git a/halo2-base/src/poseidon/mds.rs b/halo2-base/src/poseidon/mds.rs index d4bef74b..536fd7b3 100644 --- a/halo2-base/src/poseidon/mds.rs +++ b/halo2-base/src/poseidon/mds.rs @@ -1,3 +1,4 @@ +#![allow(clippy::needless_range_loop)] use crate::utils::ScalarField; /// The type used to hold the MDS matrix diff --git a/halo2-base/src/poseidon/state.rs b/halo2-base/src/poseidon/state.rs index 81cdd3a7..b533767d 100644 --- a/halo2-base/src/poseidon/state.rs +++ b/halo2-base/src/poseidon/state.rs @@ -124,7 +124,7 @@ impl PoseidonState