diff options
author | Alex Auvolat <alex@adnab.me> | 2021-04-08 15:13:02 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-04-27 16:53:47 +0200 |
commit | 119217f9f6f904efda33d80f744404c6935ed827 (patch) | |
tree | 49ba7f92e06b68b5aa1f84d082f7eeeb844b5ee2 /src/model/object_table.rs | |
parent | 2812a027ea5a8ac0de22aedce9552c2420c07019 (diff) | |
download | garage-119217f9f6f904efda33d80f744404c6935ed827.tar.gz garage-119217f9f6f904efda33d80f744404c6935ed827.zip |
change a few comments
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 |