Remove unnecessary unreachable! in download_progress example
This commit is contained in:
parent
a53fa91e0d
commit
6b0cbdd45a
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue