Enable clippy's uninlined_format_args linter (#7204)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Justin Traglia
2024-03-18 18:29:19 -05:00
committed by GitHub
parent 5b94dbb697
commit b7ef60b899
31 changed files with 84 additions and 104 deletions

View File

@ -154,7 +154,7 @@ impl<DB, State> NodeBuilder<DB, State> {
let config_path = self.config.config.clone().unwrap_or_else(|| data_dir.config_path());
let mut config = confy::load_path::<reth_config::Config>(&config_path)
.wrap_err_with(|| format!("Could not load config file {:?}", config_path))?;
.wrap_err_with(|| format!("Could not load config file {config_path:?}"))?;
info!(target: "reth::cli", path = ?config_path, "Configuration loaded");