Fix clippy and rustfmt

This commit is contained in:
Francesco 2024-02-14 12:12:18 +01:00
parent 6877cd86f9
commit 8a7f8916c0
3 changed files with 3 additions and 4 deletions

View file

@ -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,