Silence the dead-code warnings for groundwork the host wiring will use

This commit is contained in:
Dennis Kobert
2026-08-01 00:59:26 +02:00
parent c30054579f
commit 77d439ec35
2 changed files with 3 additions and 0 deletions

View File

@@ -17,6 +17,8 @@ pub fn setup_network(name: &str) -> (DynamicExecutor, ProtoNetwork) {
(executor, proto_network)
}
// Some benches in this module's include set drive the demos themselves.
#[allow(dead_code)]
pub fn bench_for_each_demo<M: Measurement, F>(group: &mut BenchmarkGroup<M>, f: F)
where
F: Fn(&str, &mut BenchmarkGroup<M>),