From 9cbad0a352fcf12c5352e37bc15c0d20be6f89d7 Mon Sep 17 00:00:00 2001 From: alex-ds13 <145657253+alex-ds13@users.noreply.github.com> Date: Mon, 8 Apr 2024 19:37:37 +0100 Subject: [PATCH] Remove extra Download struct from dowload_progress example --- examples/download_progress/src/download.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/download_progress/src/download.rs b/examples/download_progress/src/download.rs index 3b11cb7661..d6cc1e2434 100644 --- a/examples/download_progress/src/download.rs +++ b/examples/download_progress/src/download.rs @@ -12,12 +12,6 @@ pub fn file( }) } -#[derive(Debug, Hash, Clone)] -pub struct Download { - id: I, - url: String, -} - async fn download(id: I, state: State) -> ((I, Progress), State) { match state { State::Ready(url) => {