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

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