chore: clippy

This commit is contained in:
DaniPopes 2023-03-25 03:26:47 +01:00
parent 04d4e32b9a
commit 4558b0445e
No known key found for this signature in database
GPG Key ID: 0F09640DDB7AC692
1 changed files with 1 additions and 1 deletions

View File

@ -621,7 +621,7 @@ mod tests {
fn serde_to_string_match() {
for chain in Chain::iter() {
let chain_serde = serde_json::to_string(&chain).unwrap();
let chain_string = format!("\"{}\"", chain.to_string());
let chain_string = format!("\"{}\"", chain);
assert_eq!(chain_serde, chain_string);
}
}