bug/4 fixed for clippy

This commit is contained in:
Paul Masurel
2016-10-16 18:31:29 +09:00
parent 2b7444b11a
commit 20c089b9f1
18 changed files with 44 additions and 42 deletions

View File

@@ -14,7 +14,7 @@ fn main() {
// Let's create a temporary directory for the
// sake of this example
if let Ok(dir) = TempDir::new("tantivy_example_dir") {
run_example(&dir.path()).unwrap();
run_example(dir.path()).unwrap();
dir.close().unwrap();
}
}