From 9eb1128f9fab6e90bf5e592a3b6966682a0b8cce Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Mon, 13 Jun 2022 19:32:55 +1000 Subject: [PATCH] Rm unused `DummyVisitor` in `extract_tar_based_stream` Signed-off-by: Jiahao XU --- src/helpers/async_extracter.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/helpers/async_extracter.rs b/src/helpers/async_extracter.rs index 2b1298bf..334812aa 100644 --- a/src/helpers/async_extracter.rs +++ b/src/helpers/async_extracter.rs @@ -208,14 +208,6 @@ pub async fn extract_tar_based_stream( where BinstallError: From, { - struct DummyVisitor; - - impl TarEntriesVisitor for DummyVisitor { - fn visit(&mut self, _entries: Entries<'_, R>) -> Result<(), BinstallError> { - unimplemented!() - } - } - let path = output.to_owned(); extract_impl(