change a few comments

This commit is contained in:
Alex Auvolat
2021-04-08 15:13:02 +02:00
parent 2812a027ea
commit 119217f9f6
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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