From 6dc08bf45e768bdf9ef4a87b7e8dc7b0346a99e1 Mon Sep 17 00:00:00 2001 From: Tamo Date: Wed, 2 Jun 2021 17:09:21 +0200 Subject: [PATCH] remove the nop function --- benchmarks/benches/utils.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/benchmarks/benches/utils.rs b/benchmarks/benches/utils.rs index 6fa5f2d19..83367a7ca 100644 --- a/benchmarks/benches/utils.rs +++ b/benchmarks/benches/utils.rs @@ -29,15 +29,13 @@ pub struct Conf<'a> { } impl Conf<'_> { - fn nop(_builder: &mut Settings) {} - pub const BASE: Self = Conf { database_name: "benches.mmdb", dataset: "", group_name: "", queries: &[], criterion: None, - configure: Self::nop, + configure: |_| (), facet_condition: None, optional_words: true, primary_key: None,