Skip to content

Commit

Permalink
add default for BenchArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
msaf1980 authored and nvzqz committed Nov 25, 2024
1 parent 9800477 commit 99a329b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/bench/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@ impl BenchArgs {
}
}

impl Default for BenchArgs {
fn default() -> Self {
Self::new()
}
}

impl BenchArgsRunner {
#[inline]
pub(crate) fn bench(&self, bencher: Bencher, index: usize) {
Expand Down

0 comments on commit 99a329b

Please sign in to comment.