From fc14ac2038661fbc5d9fa0389f1896ddd1ff3d07 Mon Sep 17 00:00:00 2001 From: asonix Date: Tue, 18 Jul 2023 21:59:27 -0500 Subject: [PATCH] Clippy --- src/repo/sled.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/repo/sled.rs b/src/repo/sled.rs index d4f34ea..99cb1f8 100644 --- a/src/repo/sled.rs +++ b/src/repo/sled.rs @@ -169,9 +169,11 @@ impl FullRepo for SledRepo { } } +type IterValue = Option<(sled::Iter, Result)>; + pub(crate) struct IterStream { iter: Option, - next: Option)>>>, + next: Option>, } impl futures_util::Stream for IterStream {