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-08 15:13:02 +0200
commitaf6774a511904f25c7d156aeea12504deab82078 (patch)
tree6b28892439215ddde4109a528c827a77ca41255a /src/model/bucket_table.rs
parentc35c472dc9b04ed49e28a78bc9fa96baa7282502 (diff)
downloadgarage-af6774a511904f25c7d156aeea12504deab82078.tar.gz
garage-af6774a511904f25c7d156aeea12504deab82078.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,