diff --git a/crates/iota-core/src/traffic_controller/nodefw_client.rs b/crates/iota-core/src/traffic_controller/nodefw_client.rs index fbc55ead032..f354571433e 100644 --- a/crates/iota-core/src/traffic_controller/nodefw_client.rs +++ b/crates/iota-core/src/traffic_controller/nodefw_client.rs @@ -33,7 +33,7 @@ impl NodeFWClient { pub async fn block_addresses(&self, addresses: BlockAddresses) -> Result<(), reqwest::Error> { let response = self .client - .post(&format!("{}/block_addresses", self.remote_fw_url)) + .post(format!("{}/block_addresses", self.remote_fw_url)) .json(&addresses) .send() .await?; @@ -45,7 +45,7 @@ impl NodeFWClient { pub async fn list_addresses(&self) -> Result { self.client - .get(&format!("{}/list_addresses", self.remote_fw_url)) + .get(format!("{}/list_addresses", self.remote_fw_url)) .send() .await? .error_for_status()? diff --git a/crates/iota-genesis-builder/src/stardust/test_outputs/stardust_mix.rs b/crates/iota-genesis-builder/src/stardust/test_outputs/stardust_mix.rs index 4f6aa49c84f..1b55cfd2c57 100644 --- a/crates/iota-genesis-builder/src/stardust/test_outputs/stardust_mix.rs +++ b/crates/iota-genesis-builder/src/stardust/test_outputs/stardust_mix.rs @@ -307,7 +307,7 @@ fn random_alias_foundry_native_token( .finish()?, rng, )); - let metadata = Irc30Metadata::new(&format!("My Native Token {i}"), "MNT", 10) + let metadata = Irc30Metadata::new(format!("My Native Token {i}"), "MNT", 10) .with_description("A native token for testing"); outputs.push(finish_with_header( diff --git a/crates/iota-source-validation/src/toolchain.rs b/crates/iota-source-validation/src/toolchain.rs index c860b5f5dd5..56c6cda08b8 100644 --- a/crates/iota-source-validation/src/toolchain.rs +++ b/crates/iota-source-validation/src/toolchain.rs @@ -256,9 +256,9 @@ fn download_and_compile( let mut dest_binary = dest_version.clone(); dest_binary.extend(["target", "release"]); if platform == "windows-x86_64" { - dest_binary.push(&format!("iota-{platform}.exe")); + dest_binary.push(format!("iota-{platform}.exe")); } else { - dest_binary.push(&format!("iota-{platform}")); + dest_binary.push(format!("iota-{platform}")); } let dest_binary_os = OsStr::new(dest_binary.as_path()); set_executable_permission(dest_binary_os)?;