Fix: Remove (empty) Drop implementation for Store
The StoreEntry drop implementation takes care of unlocking the files.
This commit is contained in:
parent
b774ac0e67
commit
1705ecbbff
1 changed files with 0 additions and 13 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue