diff options
author | Alex Auvolat <alex@adnab.me> | 2023-08-30 20:07:14 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-08-30 20:07:14 +0200 |
commit | a1d57283c0b37baabfb624d3696cc6efbaa4a500 (patch) | |
tree | d0c69925546ccf3cd7d0d906f48288d199be3f36 /src/model/bucket_table.rs | |
parent | d2e94e36d64d4062ebe1fabac65ac1a6f265de17 (diff) | |
download | garage-a1d57283c0b37baabfb624d3696cc6efbaa4a500.tar.gz garage-a1d57283c0b37baabfb624d3696cc6efbaa4a500.zip |
bucket_table: bucketparams::new doesn't need to be pub
Diffstat (limited to 'src/model/bucket_table.rs')
-rw-r--r-- | src/model/bucket_table.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/bucket_table.rs b/src/model/bucket_table.rs index 0eefa0e5..4c48a76f 100644 --- a/src/model/bucket_table.rs +++ b/src/model/bucket_table.rs @@ -127,7 +127,7 @@ impl AutoCrdt for BucketQuotas { impl BucketParams { /// Create an empty BucketParams with no authorized keys and no website accesss - pub fn new() -> Self { + fn new() -> Self { BucketParams { creation_date: now_msec(), authorized_keys: crdt::Map::new(), |