chore(lint): fix lint storage (#11485)

This commit is contained in:
Emilia Hane
2024-10-04 19:19:02 +02:00
committed by GitHub
parent 1f190ad8ea
commit 16bc9c8b49
11 changed files with 31 additions and 31 deletions

View File

@ -22,7 +22,7 @@ pub trait TableObject: Sized {
}
}
impl<'tx> TableObject for Cow<'tx, [u8]> {
impl TableObject for Cow<'_, [u8]> {
fn decode(_: &[u8]) -> Result<Self, Error> {
unreachable!()
}

View File

@ -539,7 +539,7 @@ where
},
}
impl<'cur, K, Key, Value> IntoIter<'cur, K, Key, Value>
impl<K, Key, Value> IntoIter<'_, K, Key, Value>
where
K: TransactionKind,
Key: TableObject,
@ -551,7 +551,7 @@ where
}
}
impl<'cur, K, Key, Value> Iterator for IntoIter<'cur, K, Key, Value>
impl<K, Key, Value> Iterator for IntoIter<'_, K, Key, Value>
where
K: TransactionKind,
Key: TableObject,
@ -646,7 +646,7 @@ where
}
}
impl<'cur, K, Key, Value> Iterator for Iter<'cur, K, Key, Value>
impl<K, Key, Value> Iterator for Iter<'_, K, Key, Value>
where
K: TransactionKind,
Key: TableObject,
@ -736,7 +736,7 @@ where
}
}
impl<'cur, K, Key, Value> fmt::Debug for IterDup<'cur, K, Key, Value>
impl<K, Key, Value> fmt::Debug for IterDup<'_, K, Key, Value>
where
K: TransactionKind,
Key: TableObject,