summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/download_progress/src/download.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/download_progress/src/download.rs b/examples/download_progress/src/download.rs
index 7db1206b..39dd843f 100644
--- a/examples/download_progress/src/download.rs
+++ b/examples/download_progress/src/download.rs
@@ -70,9 +70,7 @@ async fn download<I: Copy>(
// We do not let the stream die, as it would start a
// new download repeatedly if the user is not careful
// in case of errors.
- let _: () = iced::futures::future::pending().await;
-
- unreachable!()
+ iced::futures::future::pending().await
}
}
}