aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-03-13 18:50:07 +0100
committerAlex Auvolat <alex@adnab.me>2023-03-13 18:50:07 +0100
commit000006d689d2d8075599fbe1653605566ae9d36e (patch)
tree7ae124a8b7165edab933bc9649baf9c126e95c92
parent0a1ddcf6301359cde654003b46636497f6a417a4 (diff)
downloadgarage-000006d689d2d8075599fbe1653605566ae9d36e.tar.gz
garage-000006d689d2d8075599fbe1653605566ae9d36e.zip
obsolete clippy lintsv0.8.2prepare-v082
-rw-r--r--src/model/k2v/item_table.rs1
-rw-r--r--src/model/s3/object_table.rs1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/model/k2v/item_table.rs b/src/model/k2v/item_table.rs
index 84c05db5..9e3ba5a5 100644
--- a/src/model/k2v/item_table.rs
+++ b/src/model/k2v/item_table.rs
@@ -269,7 +269,6 @@ impl CountedItem for K2VItem {
&self.partition.partition_key
}
- #[allow(clippy::bool_to_int_with_if)]
fn counts(&self) -> Vec<(&'static str, i64)> {
let values = self.values();
diff --git a/src/model/s3/object_table.rs b/src/model/s3/object_table.rs
index 29614dc5..518acc95 100644
--- a/src/model/s3/object_table.rs
+++ b/src/model/s3/object_table.rs
@@ -355,7 +355,6 @@ impl CountedItem for Object {
fn counts(&self) -> Vec<(&'static str, i64)> {
let versions = self.versions();
- #[allow(clippy::bool_to_int_with_if)]
let n_objects = if versions.iter().any(|v| v.is_data()) {
1
} else {