diff --git a/src/index/lock.rs b/src/index/lock.rs index 5578bfa..9585614 100644 --- a/src/index/lock.rs +++ b/src/index/lock.rs @@ -87,9 +87,7 @@ impl Lock { impl Drop for Lock { fn drop(&mut self) { - match self.delete_lock_file() { - _ => (), - } + let _ = self.delete_lock_file(); } }