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

@@ -59,7 +59,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 {
unimplemented!()

View File

@@ -104,7 +104,10 @@ impl TxnIterator {
}
impl StorageIterator for TxnIterator {
type KeyType<'a> = &'a [u8] where Self: 'a;
type KeyType<'a>
= &'a [u8]
where
Self: 'a;
fn value(&self) -> &[u8] {
self.iter.value()