Skip to content

Commit

Permalink
remove parens (#1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
tadeohepperle authored Jun 15, 2023
1 parent 3cfe91e commit b403401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/commands/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}
Expand Down

0 comments on commit b403401

Please sign in to comment.