diff --git a/src/peer/storage/mod.rs b/src/peer/storage/mod.rs index ee826f0..5f11641 100644 --- a/src/peer/storage/mod.rs +++ b/src/peer/storage/mod.rs @@ -78,7 +78,12 @@ impl Iterator for EnvIter { env }) } + + fn size_hint(&self) -> (usize, Option) { + self.destinations.size_hint() + } } + #[derive(Serialize, Deserialize, Clone, Debug)] pub struct JsonError { pub code: u32,