fix edition 2024 lints

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2025-02-25 18:38:12 +00:00 committed by June Clementine Strawberry
commit a67ab75417
36 changed files with 60 additions and 72 deletions

View file

@ -52,7 +52,7 @@ pub fn compact_blocking(&self, opts: Options) -> Result {
co.set_target_level(level.try_into()?);
},
| (Some(_), Some(_)) => return Err!("compacting between specific levels not supported"),
};
}
self.db
.db

View file

@ -50,7 +50,6 @@ where
.iter()
.map(ser::serialize_to::<KeyBuf, _>)
.map(|result| result.expect("failed to serialize query key"))
.map(Into::into)
.collect();
self.db

View file

@ -40,7 +40,7 @@ pub fn rev_raw_stream(self: &Arc<Self>) -> impl Stream<Item = Result<KeyVal<'_>>
.into_stream()
.flatten()
.boxed();
};
}
let seek = Seek {
map: self.clone(),

View file

@ -89,7 +89,7 @@ where
.into_stream()
.flatten()
.boxed();
};
}
let seek = Seek {
map: self.clone(),

View file

@ -39,7 +39,7 @@ pub fn raw_stream(self: &Arc<Self>) -> impl Stream<Item = Result<KeyVal<'_>>> +
.into_stream()
.flatten()
.boxed();
};
}
let seek = Seek {
map: self.clone(),

View file

@ -86,7 +86,7 @@ where
.into_stream()
.flatten()
.boxed();
};
}
let seek = Seek {
map: self.clone(),