summaryrefslogtreecommitdiffstats
path: root/examples/download_progress
diff options
context:
space:
mode:
Diffstat (limited to 'examples/download_progress')
-rw-r--r--examples/download_progress/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/download_progress/src/main.rs b/examples/download_progress/src/main.rs
index 9f4769e0..a4136415 100644
--- a/examples/download_progress/src/main.rs
+++ b/examples/download_progress/src/main.rs
@@ -166,7 +166,7 @@ impl Download {
.into()
}
State::Downloading { .. } => {
- text(format!("Downloading... {current_progress:.2}%")).into()
+ text!("Downloading... {current_progress:.2}%").into()
}
State::Errored => column![
"Something went wrong :(",