chore: bump compiler version and clippy fixes (#105)

Signed-off-by: Alex Chi Z <iskyzh@gmail.com>
This commit is contained in:
Alex Chi Z.
2024-12-09 00:23:03 -05:00
committed by GitHub
parent f99db4dd61
commit 23802b23dd
7 changed files with 24 additions and 9 deletions

View File

@@ -99,7 +99,10 @@ impl<I: StorageIterator> FusedIterator<I> {
}
impl<I: StorageIterator> StorageIterator for FusedIterator<I> {
type KeyType<'a> = I::KeyType<'a> where Self: 'a;
type KeyType<'a>
= I::KeyType<'a>
where
Self: 'a;
fn is_valid(&self) -> bool {
!self.has_errored && self.iter.is_valid()