mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(lint): fix lint storage (#11485)
This commit is contained in:
@ -21,7 +21,7 @@ impl<'a, K, V> ForwardInMemoryCursor<'a, K, V> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, K, V> ForwardInMemoryCursor<'a, K, V>
|
||||
impl<K, V> ForwardInMemoryCursor<'_, K, V>
|
||||
where
|
||||
K: PartialOrd + Clone,
|
||||
V: Clone,
|
||||
|
||||
@ -132,7 +132,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, C> HashedCursor for HashedPostStateAccountCursor<'a, C>
|
||||
impl<C> HashedCursor for HashedPostStateAccountCursor<'_, C>
|
||||
where
|
||||
C: HashedCursor<Value = Account>,
|
||||
{
|
||||
@ -276,7 +276,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, C> HashedCursor for HashedPostStateStorageCursor<'a, C>
|
||||
impl<C> HashedCursor for HashedPostStateStorageCursor<'_, C>
|
||||
where
|
||||
C: HashedStorageCursor<Value = U256>,
|
||||
{
|
||||
@ -304,7 +304,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, C> HashedStorageCursor for HashedPostStateStorageCursor<'a, C>
|
||||
impl<C> HashedStorageCursor for HashedPostStateStorageCursor<'_, C>
|
||||
where
|
||||
C: HashedStorageCursor<Value = U256>,
|
||||
{
|
||||
|
||||
@ -188,7 +188,7 @@ impl<'a, C> InMemoryStorageTrieCursor<'a, C> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, C: TrieCursor> InMemoryStorageTrieCursor<'a, C> {
|
||||
impl<C: TrieCursor> InMemoryStorageTrieCursor<'_, C> {
|
||||
fn seek_inner(
|
||||
&mut self,
|
||||
key: Nibbles,
|
||||
@ -237,7 +237,7 @@ impl<'a, C: TrieCursor> InMemoryStorageTrieCursor<'a, C> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, C: TrieCursor> TrieCursor for InMemoryStorageTrieCursor<'a, C> {
|
||||
impl<C: TrieCursor> TrieCursor for InMemoryStorageTrieCursor<'_, C> {
|
||||
fn seek_exact(
|
||||
&mut self,
|
||||
key: Nibbles,
|
||||
|
||||
@ -455,7 +455,7 @@ pub mod serde_bincode_compat {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> SerializeAs<super::TrieUpdates> for TrieUpdates<'a> {
|
||||
impl SerializeAs<super::TrieUpdates> for TrieUpdates<'_> {
|
||||
fn serialize_as<S>(source: &super::TrieUpdates, serializer: S) -> Result<S::Ok, S::Error>
|
||||
where
|
||||
S: Serializer,
|
||||
@ -515,7 +515,7 @@ pub mod serde_bincode_compat {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> SerializeAs<super::StorageTrieUpdates> for StorageTrieUpdates<'a> {
|
||||
impl SerializeAs<super::StorageTrieUpdates> for StorageTrieUpdates<'_> {
|
||||
fn serialize_as<S>(
|
||||
source: &super::StorageTrieUpdates,
|
||||
serializer: S,
|
||||
|
||||
Reference in New Issue
Block a user