📎 small change for clippy

This commit is contained in:
Michael J. Curry
2016-10-02 22:08:15 -04:00
parent 6fc412f70a
commit e0240609ab

View File

@@ -82,8 +82,7 @@ impl Drop for IndexWriter {
fn drop(&mut self) {
let lockfile_path = Path::new(LOCKFILE_NAME);
match self.index.directory_mut().delete(lockfile_path) {
Ok(_) => (),
Err(_) => (),
Ok(_) | Err(_) => ()
}
}
}