Skip to content

Commit d22613c

Browse files
committed
Fixed stream impl
1 parent 4b8a8fe commit d22613c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

common/src/archive.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,14 @@ where
176176

177177
impl<T> Stream for Archive<T>
178178
where
179-
T: Bytes + Unpin,
179+
T: ArchiveEntryData + Unpin,
180180
{
181-
type Item = Result<T, Error>;
181+
type Item = Result<Bytes, Error>;
182182

183183
fn poll_next(
184184
self: std::pin::Pin<&mut Self>,
185185
cx: &mut std::task::Context<'_>,
186186
) -> std::task::Poll<Option<Self::Item>> {
187-
let this = self.get_mut();
188187

189188
}
190189
}

0 commit comments

Comments
 (0)