clippy: add redundant_else clippy lint (#10525)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Thomas Coratger
2024-08-26 02:40:10 -07:00
committed by GitHub
parent 73a424205d
commit 9c57c4a454
12 changed files with 37 additions and 51 deletions

View File

@ -156,9 +156,8 @@ impl EngineHooksController {
);
return Poll::Ready(Ok(result))
} else {
debug!(target: "consensus::engine::hooks", hook = hook.name(), "Next hook is not ready");
}
debug!(target: "consensus::engine::hooks", hook = hook.name(), "Next hook is not ready");
Poll::Pending
}