From 119217f9f6f904efda33d80f744404c6935ed827 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 8 Apr 2021 15:13:02 +0200 Subject: change a few comments --- src/model/bucket_table.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/model/bucket_table.rs') diff --git a/src/model/bucket_table.rs b/src/model/bucket_table.rs index 6a4b021d..69901b8d 100644 --- a/src/model/bucket_table.rs +++ b/src/model/bucket_table.rs @@ -57,7 +57,7 @@ impl CRDT for BucketParams { } impl BucketParams { - /// Initializes a new instance of the Bucket struct + /// Create an empty BucketParams with no authorized keys and no website accesss pub fn new() -> Self { BucketParams { authorized_keys: crdt::LWWMap::new(), @@ -67,7 +67,7 @@ impl BucketParams { } impl Bucket { - /// Create a new bucket + /// Initializes a new instance of the Bucket struct pub fn new(name: String) -> Self { Bucket { name, -- cgit v1.2.3