diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-06-08 01:54:24 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-07-19 20:58:27 +0200 |
commit | 1705ecbbff3c42d3072f7d9136ef04c17e863ec0 (patch) | |
tree | f4447c474bd4eb444f3b315542c81b71dc843c7c /lib | |
parent | b774ac0e678223469aebbf9659b88c36e381f44a (diff) |
Fix: Remove (empty) Drop implementation for Store
The StoreEntry drop implementation takes care of unlocking the files.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/core/libimagstore/src/store.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/core/libimagstore/src/store.rs b/lib/core/libimagstore/src/store.rs index 032f2c3e..4b92ac56 100644 --- a/lib/core/libimagstore/src/store.rs +++ b/lib/core/libimagstore/src/store.rs @@ -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, |