Post review fixes

This commit is contained in:
Arthur Carcano
2026-04-28 17:56:03 +02:00
committed by Alex
parent 6a097e7de3
commit 322da7242b
6 changed files with 6 additions and 14 deletions
-1
View File
@@ -93,7 +93,6 @@ pub(crate) mod v09 {
}
#[derive(PartialEq, Eq, Clone, Debug, Serialize, Deserialize)]
#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
pub enum VersionBacklink {
Object {
/// Bucket in which the related object is stored
-5
View File
@@ -84,11 +84,6 @@ where
self.v = new_value;
}
pub fn update2(&mut self, f: impl FnOnce(&mut T), time: u64) {
self.ts = std::cmp::max(self.ts + 1, time);
f(&mut self.v)
}
/// Get the timestamp currently associated with the value
pub fn timestamp(&self) -> u64 {
self.ts