diff --git a/dft/benches/fft.rs b/dft/benches/fft.rs index 905c3ea68..2ba4fcce5 100644 --- a/dft/benches/fft.rs +++ b/dft/benches/fft.rs @@ -47,7 +47,7 @@ where Dft: TwoAdicSubgroupDft, Standard: Distribution, { - let mut group = c.benchmark_group(format!( + let mut group = c.benchmark_group(&format!( "fft::<{}, {}, {}>", type_name::(), type_name::(), @@ -75,7 +75,11 @@ where Dft: TwoAdicSubgroupDft>, Standard: Distribution, { - let mut group = c.benchmark_group(format!("m31_fft::<{}, {}>", type_name::(), BATCH_SIZE)); + let mut group = c.benchmark_group(&format!( + "m31_fft::<{}, {}>", + type_name::(), + BATCH_SIZE + )); group.sample_size(10); let mut rng = thread_rng(); @@ -98,7 +102,7 @@ where Dft: TwoAdicSubgroupDft, Standard: Distribution, { - let mut group = c.benchmark_group(format!( + let mut group = c.benchmark_group(&format!( "ifft::<{}, {}, {}>", type_name::(), type_name::(), @@ -127,7 +131,7 @@ where Dft: TwoAdicSubgroupDft, Standard: Distribution, { - let mut group = c.benchmark_group(format!( + let mut group = c.benchmark_group(&format!( "coset_lde::<{}, {}, {}>", type_name::(), type_name::(), diff --git a/monty-31/src/poseidon2.rs b/monty-31/src/poseidon2.rs index 250fd6efe..579a4e88a 100644 --- a/monty-31/src/poseidon2.rs +++ b/monty-31/src/poseidon2.rs @@ -6,7 +6,6 @@ use p3_symmetric::Permutation; use crate::{monty_reduce, FieldParameters, MontyField31, MontyParameters}; /// Everything needed to compute multiplication by a WIDTH x WIDTH diffusion matrix whose monty form is 1 + Diag(vec). -/// /// vec is assumed to be of the form [-2, ...] with all entries after the first being small powers of 2. pub trait DiffusionMatrixParameters: Clone + Sync { // Most of the time, ArrayLike will be [u8; WIDTH - 1].