chore: Clippy pass

This commit is contained in:
Clément Renault 2018-12-31 23:20:18 +01:00
parent 521df85c0d
commit 7845292ea8
No known key found for this signature in database
GPG key ID: 0151CDAB43460DAE
10 changed files with 654 additions and 710 deletions

View file

@ -32,7 +32,7 @@ struct Document<'a> (
);
fn index(schema: Schema, database_path: &Path, csv_data_path: &Path) -> Result<Database, Box<Error>> {
let database = Database::create(database_path, schema.clone())?;
let database = Database::create(database_path, &schema)?;
println!("start indexing...");