Fix: Remove (empty) Drop implementation for Store

The StoreEntry drop implementation takes care of unlocking the files.
This commit is contained in:
Matthias Beyer 2018-06-08 01:54:24 +02:00
parent b774ac0e67
commit 1705ecbbff

View file

@ -665,19 +665,6 @@ impl Debug for Store {
}
impl Drop for Store {
///
/// Unlock all files on drop
//
/// TODO: Unlock them
///
fn drop(&mut self) {
debug!("Dropping store");
}
}
/// A struct that allows you to borrow an Entry
pub struct FileLockEntry<'a> {
store: &'a Store,