mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
Enable clippy's uninlined_format_args linter (#7204)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@@ -235,18 +235,16 @@ impl Account {
|
||||
assert_equal(
|
||||
*value,
|
||||
entry.value,
|
||||
&format!("Storage for slot {:?} does not match", slot),
|
||||
&format!("Storage for slot {slot:?} does not match"),
|
||||
)?;
|
||||
} else {
|
||||
return Err(Error::Assertion(format!(
|
||||
"Slot {:?} is missing from the database. Expected {:?}",
|
||||
slot, value
|
||||
"Slot {slot:?} is missing from the database. Expected {value:?}"
|
||||
)))
|
||||
}
|
||||
} else {
|
||||
return Err(Error::Assertion(format!(
|
||||
"Slot {:?} is missing from the database. Expected {:?}",
|
||||
slot, value
|
||||
"Slot {slot:?} is missing from the database. Expected {value:?}"
|
||||
)))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user