mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-30 00:34:26 +01:00
remove the nop function
This commit is contained in:
parent
087ae64899
commit
6dc08bf45e
@ -29,15 +29,13 @@ pub struct Conf<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl Conf<'_> {
|
impl Conf<'_> {
|
||||||
fn nop(_builder: &mut Settings) {}
|
|
||||||
|
|
||||||
pub const BASE: Self = Conf {
|
pub const BASE: Self = Conf {
|
||||||
database_name: "benches.mmdb",
|
database_name: "benches.mmdb",
|
||||||
dataset: "",
|
dataset: "",
|
||||||
group_name: "",
|
group_name: "",
|
||||||
queries: &[],
|
queries: &[],
|
||||||
criterion: None,
|
criterion: None,
|
||||||
configure: Self::nop,
|
configure: |_| (),
|
||||||
facet_condition: None,
|
facet_condition: None,
|
||||||
optional_words: true,
|
optional_words: true,
|
||||||
primary_key: None,
|
primary_key: None,
|
||||||
|
Loading…
Reference in New Issue
Block a user