chore: update format! macro use to satisfy latest clippy version (#194)
This commit is contained in:
@@ -4,6 +4,6 @@ pub trait Hexable {
|
||||
|
||||
impl<T: AsRef<[u8]>> Hexable for T {
|
||||
fn to_hex(&self) -> String {
|
||||
format!("0x{}", hex::encode(self))
|
||||
format!("0x{encoded}", encoded = hex::encode(self))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user