Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
PSeitz committed Oct 12, 2024
1 parent 8f0d029 commit da2fc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl<'a, I, O> InputWithBenchmark<'a, I, O> {
}
}

impl<'a, I, O: OutputValue> InputWithBenchmark<'a, I, O> {
impl<I, O: OutputValue> InputWithBenchmark<'_, I, O> {
fn get_num_iter_or_fail(&self) -> usize {
self.num_iter
.expect("Number of iterations not set. Call set_num_iter before running the benchmark.")
Expand Down

0 comments on commit da2fc76

Please sign in to comment.