Remove RamVersionClaim::reset as ive figured out it wont be needed

This commit is contained in:
2026-01-09 20:23:11 +01:00
parent d1b4cc7b56
commit 3451a8227c

View File

@@ -443,14 +443,6 @@ impl<'a> RamVersionClaim<'a> {
} }
} }
} }
/// Reset the state of the version counter to its initial state
/// ONLY USE IF YOU ARE SURE RAM HAS NOT BEEN WRITTEN TO
pub fn reset(self) {
self.version_counter
.store(self.intial_version, Ordering::Release);
std::mem::forget(self);
}
} }
impl<'a> Drop for RamVersionClaim<'a> { impl<'a> Drop for RamVersionClaim<'a> {