mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-21 04:58:42 +00:00
Rm unused DummyVisitor
in extract_tar_based_stream
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
2091345ce0
commit
9eb1128f9f
1 changed files with 0 additions and 8 deletions
|
@ -208,14 +208,6 @@ pub async fn extract_tar_based_stream<E>(
|
||||||
where
|
where
|
||||||
BinstallError: From<E>,
|
BinstallError: From<E>,
|
||||||
{
|
{
|
||||||
struct DummyVisitor;
|
|
||||||
|
|
||||||
impl TarEntriesVisitor for DummyVisitor {
|
|
||||||
fn visit<R: Read>(&mut self, _entries: Entries<'_, R>) -> Result<(), BinstallError> {
|
|
||||||
unimplemented!()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
let path = output.to_owned();
|
let path = output.to_owned();
|
||||||
|
|
||||||
extract_impl(
|
extract_impl(
|
||||||
|
|
Loading…
Add table
Reference in a new issue