fix clippy

This commit is contained in:
Pascal Seitz
2021-07-01 17:41:53 +02:00
parent 2de249af74
commit 1e4df54ab3
49 changed files with 113 additions and 124 deletions

View File

@@ -25,7 +25,7 @@ fn main() -> tantivy::Result<()> {
let schema = schema_builder.build();
// # Indexing documents
let index = Index::create_in_dir(&index_path, schema.clone())?;
let index = Index::create_in_dir(&index_path, schema)?;
let mut index_writer = index.writer(50_000_000)?;