mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-10 13:52:49 +02:00
fix edition 2024 lints
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
cbf207bd1f
commit
a67ab75417
36 changed files with 60 additions and 72 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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(),
|
||||
|
|
|
@ -89,7 +89,7 @@ where
|
|||
.into_stream()
|
||||
.flatten()
|
||||
.boxed();
|
||||
};
|
||||
}
|
||||
|
||||
let seek = Seek {
|
||||
map: self.clone(),
|
||||
|
|
|
@ -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(),
|
||||
|
|
|
@ -86,7 +86,7 @@ where
|
|||
.into_stream()
|
||||
.flatten()
|
||||
.boxed();
|
||||
};
|
||||
}
|
||||
|
||||
let seek = Seek {
|
||||
map: self.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue