mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Fix clippy and rustfmt
This commit is contained in:
parent
6877cd86f9
commit
8a7f8916c0
3 changed files with 3 additions and 4 deletions
|
@ -182,7 +182,7 @@ impl IndexMapper {
|
|||
// This is very unlikely to happen in practice.
|
||||
// TODO: it would be better to lazily create the index. But we need an Index::open function for milli.
|
||||
let index = self.index_map.write().unwrap().create(
|
||||
Some(name.to_string()),
|
||||
Some(name.to_string()),
|
||||
&uuid,
|
||||
&index_path,
|
||||
date,
|
||||
|
@ -372,7 +372,7 @@ impl IndexMapper {
|
|||
let index_path = self.base_path.join(uuid.to_string());
|
||||
|
||||
break index_map.create(
|
||||
Some(name.to_string()),
|
||||
Some(name.to_string()),
|
||||
&uuid,
|
||||
&index_path,
|
||||
None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue