From b1667bd474f3b4da2ad0cfc406301a24ba4c0f56 Mon Sep 17 00:00:00 2001 From: Nbiba Bedis Date: Wed, 8 Dec 2021 14:11:24 +0100 Subject: [PATCH] Remove comment --- src/archive/tar.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/archive/tar.rs b/src/archive/tar.rs index 78e9314..06182f7 100644 --- a/src/archive/tar.rs +++ b/src/archive/tar.rs @@ -53,7 +53,6 @@ pub fn list_archive( // NOTE: tar::Archive::entries takes a &mut self // This makes returning an iterator impossible // Current workaround is just to leak the archive - // This can be replaced when upstream add `into_entries` function that consumes the archive let archive = Box::leak(Box::new(archive)); Ok(archive.entries()?.map(|file| {