mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +00:00
Clippy
This commit is contained in:
parent
3d93300ba9
commit
fc14ac2038
1 changed files with 3 additions and 1 deletions
|
@ -169,9 +169,11 @@ impl FullRepo for SledRepo {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type IterValue = Option<(sled::Iter, Result<sled::IVec, RepoError>)>;
|
||||||
|
|
||||||
pub(crate) struct IterStream {
|
pub(crate) struct IterStream {
|
||||||
iter: Option<sled::Iter>,
|
iter: Option<sled::Iter>,
|
||||||
next: Option<JoinHandle<Option<(sled::Iter, Result<sled::IVec, RepoError>)>>>,
|
next: Option<JoinHandle<IterValue>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl futures_util::Stream for IterStream {
|
impl futures_util::Stream for IterStream {
|
||||||
|
|
Loading…
Reference in a new issue