Run clippy

This commit is contained in:
dospore
2024-07-05 16:14:51 +10:00
parent 60092e01d3
commit 208bf1c232

View File

@@ -257,9 +257,9 @@ pub mod deposit_methods {
Latest, Latest,
} }
impl Into<u64> for Eth1Id { impl From<Eth1Id> for u64 {
fn into(self) -> u64 { fn from(val: Eth1Id) -> Self {
match self { match val {
Eth1Id::Mainnet => 1, Eth1Id::Mainnet => 1,
Eth1Id::Custom(id) => id, Eth1Id::Custom(id) => id,
} }