From 1e4814568b3be937b7ddc55686a6aa2a34c587f6 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 7 Jun 2022 18:48:32 +0200 Subject: [PATCH] remove useless clippy allow --- src/model/s3/block_ref_table.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/model/s3/block_ref_table.rs b/src/model/s3/block_ref_table.rs index 1134922e..9589b4aa 100644 --- a/src/model/s3/block_ref_table.rs +++ b/src/model/s3/block_ref_table.rs @@ -59,7 +59,6 @@ impl TableSchema for BlockRefTable { old: Option<&Self::E>, new: Option<&Self::E>, ) -> db::TxOpResult<()> { - #[allow(clippy::or_fun_call)] let block = old.or(new).unwrap().block; let was_before = old.map(|x| !x.deleted.get()).unwrap_or(false); let is_after = new.map(|x| !x.deleted.get()).unwrap_or(false);