mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
clippy: add redundant_else clippy lint (#10525)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user