diff options
Diffstat (limited to 'src/model/object_table.rs')
-rw-r--r-- | src/model/object_table.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/object_table.rs b/src/model/object_table.rs index ff42d065..b0611822 100644 --- a/src/model/object_table.rs +++ b/src/model/object_table.rs @@ -25,7 +25,7 @@ pub struct Object { } impl Object { - /// Create an object from parts + /// Initialize an Object struct from parts pub fn new(bucket: String, key: String, versions: Vec<ObjectVersion>) -> Self { let mut ret = Self { bucket, @@ -102,7 +102,7 @@ impl CRDT for ObjectVersionState { } } -/// Data about an object version +/// Data stored in object version #[derive(PartialEq, Eq, PartialOrd, Ord, Clone, Debug, Serialize, Deserialize)] pub enum ObjectVersionData { /// The object was deleted, this Version is a tombstone to mark it as such |