remove useless clippy allow

This commit is contained in:
Alex 2022-06-07 18:48:32 +02:00
parent 0c0a02ad03
commit 1e4814568b
Signed by: lx
GPG Key ID: 0E496D15096376BE
1 changed files with 0 additions and 1 deletions

View File

@ -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);