chore: fix clippy (#1609)

This commit is contained in:
Robin Salen 2024-07-16 07:28:16 +09:00 committed by GitHub
parent f5a5845bc8
commit 4090881d5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ use plonky2::field::types::Field;
use tynm::type_name;
pub(crate) fn bench_ffts<F: Field>(c: &mut Criterion) {
let mut group = c.benchmark_group(&format!("fft<{}>", type_name::<F>()));
let mut group = c.benchmark_group(format!("fft<{}>", type_name::<F>()));
for size_log in [13, 14, 15, 16] {
let size = 1 << size_log;
@ -21,7 +21,7 @@ pub(crate) fn bench_ffts<F: Field>(c: &mut Criterion) {
pub(crate) fn bench_ldes<F: Field>(c: &mut Criterion) {
const RATE_BITS: usize = 3;
let mut group = c.benchmark_group(&format!("lde<{}>", type_name::<F>()));
let mut group = c.benchmark_group(format!("lde<{}>", type_name::<F>()));
for size_log in [13, 14, 15, 16] {
let orig_size = 1 << (size_log - RATE_BITS);

View File

@ -12,7 +12,7 @@ use tynm::type_name;
const ELEMS_PER_LEAF: usize = 135;
pub(crate) fn bench_merkle_tree<F: RichField, H: Hasher<F>>(c: &mut Criterion) {
let mut group = c.benchmark_group(&format!(
let mut group = c.benchmark_group(format!(
"merkle-tree<{}, {}>",
type_name::<F>(),
type_name::<H>()