fix: remove clippy warnings

This commit is contained in:
Kristofers Solo 2025-04-09 09:26:01 +03:00
parent c1e568aa3f
commit 1683728031
4 changed files with 6 additions and 6 deletions

View File

@ -54,10 +54,12 @@ pub fn run_binary_with_args(path: &Path, params: &BenchParams) -> anyhow::Result
Ok(()) Ok(())
} }
pub fn create_deep_directory(base: &Path, depth: usize) -> anyhow::Result<()> { #[allow(dead_code)]
pub fn create_deep_directory(_base: &Path, _depth: usize) -> anyhow::Result<()> {
todo!() todo!()
} }
pub fn create_wide_directory(base: &Path, width: usize) -> anyhow::Result<()> { #[allow(dead_code)]
pub fn create_wide_directory(_base: &Path, _width: usize) -> anyhow::Result<()> {
todo!() todo!()
} }

View File

@ -1,5 +1,3 @@
use std::fmt::format;
use crate::common::{ use crate::common::{
default, default,
setup::{BenchParams, TEMP_DIR, init_temp_dir}, setup::{BenchParams, TEMP_DIR, init_temp_dir},

View File

@ -1,6 +1,6 @@
use criterion::Criterion; use criterion::Criterion;
pub fn benchmark_edge_cases(c: &mut Criterion) { pub fn benchmark_edge_cases(c: &mut Criterion) {
let mut group = c.benchmark_group("edge_cases"); let group = c.benchmark_group("edge_cases");
group.finish(); group.finish();
} }

View File

@ -1,6 +1,6 @@
use criterion::Criterion; use criterion::Criterion;
pub fn benchmark_specific_scenarios(c: &mut Criterion) { pub fn benchmark_specific_scenarios(c: &mut Criterion) {
let mut group = c.benchmark_group("specific_scenarios"); let group = c.benchmark_group("specific_scenarios");
group.finish(); group.finish();
} }