mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
clippy + fmt
This commit is contained in:
parent
5fa9bc67d7
commit
102c46f88b
36 changed files with 596 additions and 473 deletions
|
@ -35,7 +35,10 @@ impl Server {
|
|||
let options = default_settings(dir.path());
|
||||
|
||||
let meilisearch = setup_meilisearch(&options).unwrap();
|
||||
let service = Service { meilisearch, options };
|
||||
let service = Service {
|
||||
meilisearch,
|
||||
options,
|
||||
};
|
||||
|
||||
Server {
|
||||
service,
|
||||
|
@ -45,7 +48,10 @@ impl Server {
|
|||
|
||||
pub async fn new_with_options(options: Opt) -> Self {
|
||||
let meilisearch = setup_meilisearch(&options).unwrap();
|
||||
let service = Service { meilisearch, options };
|
||||
let service = Service {
|
||||
meilisearch,
|
||||
options,
|
||||
};
|
||||
|
||||
Server {
|
||||
service,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue