diff --git a/lib/src/archive/read.rs b/lib/src/archive/read.rs index d0c63171..58657521 100644 --- a/lib/src/archive/read.rs +++ b/lib/src/archive/read.rs @@ -236,7 +236,7 @@ impl<'r, R: Read> Iterator for Entries<'r, R> { let entries = entry.entries(password.as_deref()); match entries { Ok(entries) => { - self.buf = VecDeque::from(entries.collect::>()); + self.buf = entries.collect::>(); self.next() } Err(e) => Some(Err(e)),