mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-08 20:45:29 +00:00
Remove comment
This commit is contained in:
parent
a07bc72faf
commit
b1667bd474
@ -53,7 +53,6 @@ pub fn list_archive(
|
|||||||
// NOTE: tar::Archive::entries takes a &mut self
|
// NOTE: tar::Archive::entries takes a &mut self
|
||||||
// This makes returning an iterator impossible
|
// This makes returning an iterator impossible
|
||||||
// Current workaround is just to leak the archive
|
// 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));
|
let archive = Box::leak(Box::new(archive));
|
||||||
|
|
||||||
Ok(archive.entries()?.map(|file| {
|
Ok(archive.entries()?.map(|file| {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user