Enable clippy's or_fun_call linter (#7222)

Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
This commit is contained in:
Justin Traglia
2024-03-19 10:52:41 -05:00
committed by GitHub
parent 553a271533
commit 11bedc1884
14 changed files with 19 additions and 19 deletions

View File

@@ -470,7 +470,7 @@ where
let sync_metrics_listener = reth_stages::MetricsListener::new(sync_metrics_rx);
executor.spawn_critical("stages metrics listener task", sync_metrics_listener);
let prune_config = config.prune_config()?.or(reth_config.prune.clone());
let prune_config = config.prune_config()?.or_else(|| reth_config.prune.clone());
let evm_config = types.evm_config();
let tree_config = BlockchainTreeConfig::default();