From 1a35d195e63afcc086f4231c3639da589892d06d Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 11 Dec 2020 00:43:27 +0100 Subject: [PATCH] compact: remove leftover --- src/lib.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 299d93b..5cae793 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -91,13 +91,6 @@ impl Store { } fn compact(&mut self) -> Result<(), Error> { - // static mut OLD_DATA: B::Data; - // let mut old_data = MaybeUninit::::zeroed(); - // let old_data = unsafe { - // let mut old_data = old_data.assume_init(); - // old_data.copy_from_slice(self.backend.data().as_ref()); - // old_data - // }; let old_data = self.backend.data().clone(); self.erase()?;