Fix clippy warnings

This commit is contained in:
ManyTheFish
2023-06-13 18:52:02 +02:00
parent 993b0d012c
commit 42709ea9a5
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ impl<'ctx> DatabaseCache<'ctx> {
[key] => db.get(txn, key)?.map(Cow::Borrowed),
keys => {
let bitmaps = keys
.into_iter()
.iter()
.filter_map(|key| db.get(txn, key).transpose())
.map(|v| v.map(Cow::Borrowed))
.collect::<std::result::Result<Vec<Cow<[u8]>>, _>>()?;