Remove RamVersionClaim::reset as ive figured out it wont be needed
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user