Skip to content

Commit 50fccb5

Browse files
committed
Fixed clippy
1 parent bad5675 commit 50fccb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/common/src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ impl FromStr for ForkName {
468468
fn from_str(value: &str) -> Result<Self, Self::Err> {
469469
match value {
470470
"electra" => Ok(ForkName::Electra),
471-
_ => Err(format!("Invalid fork name {}", value)),
471+
_ => Err(format!("Invalid fork name {value}")),
472472
}
473473
}
474474
}

0 commit comments

Comments
 (0)