aboutsummaryrefslogtreecommitdiff
path: root/src/model/s3
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-01-26 17:27:03 +0100
committerAlex Auvolat <alex@adnab.me>2023-01-26 17:27:03 +0100
commitc56794655e70544deb4a9f9b0f8e94080764d45e (patch)
treef64e0653b7ae9bed3cade4010b016cc09307f963 /src/model/s3
parent8e93d6997415d60ba5c371da8b27065a57254a8c (diff)
downloadgarage-c56794655e70544deb4a9f9b0f8e94080764d45e.tar.gz
garage-c56794655e70544deb4a9f9b0f8e94080764d45e.zip
Fix fmt
Diffstat (limited to 'src/model/s3')
-rw-r--r--src/model/s3/object_table.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/s3/object_table.rs b/src/model/s3/object_table.rs
index f71ea00b..29614dc5 100644
--- a/src/model/s3/object_table.rs
+++ b/src/model/s3/object_table.rs
@@ -355,7 +355,7 @@ impl CountedItem for Object {
fn counts(&self) -> Vec<(&'static str, i64)> {
let versions = self.versions();
- #[allow(clippy::bool_to_int_with_if)]
+ #[allow(clippy::bool_to_int_with_if)]
let n_objects = if versions.iter().any(|v| v.is_data()) {
1
} else {