From 48dbbbd829c3a8c8651cec9b7e398f75ef454086 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Fri, 30 Dec 2022 14:18:58 +0200 Subject: [PATCH] chore: clippy --- ethers-core/src/macros/ethers_crate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers-core/src/macros/ethers_crate.rs b/ethers-core/src/macros/ethers_crate.rs index 78bc38d8..2c33eb5c 100644 --- a/ethers-core/src/macros/ethers_crate.rs +++ b/ethers-core/src/macros/ethers_crate.rs @@ -63,7 +63,7 @@ pub fn determine_ethers_crates() -> (&'static str, &'static str, &'static str) { let needs_lock_file_cleanup = !std::path::Path::new(&lock_file).exists(); let res = MetadataCommand::new() - .manifest_path(&format!("{manifest_dir}/Cargo.toml")) + .manifest_path(format!("{manifest_dir}/Cargo.toml")) .exec() .ok() .and_then(|metadata| {