From b4034017539b3a94fd2fe52d16f32bdd75d466d5 Mon Sep 17 00:00:00 2001 From: Tadeo Hepperle <62739623+tadeohepperle@users.noreply.github.com> Date: Thu, 15 Jun 2023 12:19:55 +0200 Subject: [PATCH] remove parens (#1017) --- cli/src/commands/metadata.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/commands/metadata.rs b/cli/src/commands/metadata.rs index 43c90794cb..98f5447243 100644 --- a/cli/src/commands/metadata.rs +++ b/cli/src/commands/metadata.rs @@ -76,7 +76,7 @@ pub async fn run(opts: Opts, output: &mut impl Write) -> color_eyre::Result<()> Ok(()) } "hex" => { - let hex_data = format!("0x{:?}", hex::encode(metadata.encode())); + let hex_data = format!("0x{}", hex::encode(metadata.encode())); write!(output, "{hex_data}")?; Ok(()) }