summaryrefslogtreecommitdiff
path: root/bench_util/src/profiling.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-12-04 14:19:06 +0100
committerGitHub <noreply@github.com>2021-12-04 14:19:06 +0100
commitc59f90d01f06f995e335c6de76aab0b9ba2c98e5 (patch)
tree760bc0534fca502175749d9a7b719c0666f90543 /bench_util/src/profiling.rs
parent72e9720e91630bdf28b1660c20c67baa39bdb586 (diff)
chore: upgrade to Rust 1.57.0 (#12968)
Diffstat (limited to 'bench_util/src/profiling.rs')
-rw-r--r--bench_util/src/profiling.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench_util/src/profiling.rs b/bench_util/src/profiling.rs
index aad9f0159..b4459ad60 100644
--- a/bench_util/src/profiling.rs
+++ b/bench_util/src/profiling.rs
@@ -54,7 +54,7 @@ fn run_profile(test: TestDescAndFn) {
bencher::bench::run_once(|harness| bencher.run(harness));
}
StaticBenchFn(benchfn) => {
- bencher::bench::run_once(|harness| benchfn(harness));
+ bencher::bench::run_once(benchfn);
}
};
}