aboutsummaryrefslogtreecommitdiff
path: root/src/model/bucket_table.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-04-08 15:13:02 +0200
committerAlex Auvolat <alex@adnab.me>2021-04-27 16:53:47 +0200
commit119217f9f6f904efda33d80f744404c6935ed827 (patch)
tree49ba7f92e06b68b5aa1f84d082f7eeeb844b5ee2 /src/model/bucket_table.rs
parent2812a027ea5a8ac0de22aedce9552c2420c07019 (diff)
downloadgarage-119217f9f6f904efda33d80f744404c6935ed827.tar.gz
garage-119217f9f6f904efda33d80f744404c6935ed827.zip
change a few comments
Diffstat (limited to 'src/model/bucket_table.rs')
-rw-r--r--src/model/bucket_table.rs4
1 files changed, 2 insertions, 2 deletions
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,