obsolete clippy lints

pull/530/head v0.8.2
Alex 1 week ago
parent 0a1ddcf630
commit 000006d689
  1. 1
      src/model/k2v/item_table.rs
  2. 1
      src/model/s3/object_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();

@ -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 {

Loading…
Cancel
Save