diff options
author | 2023-01-27 13:25:04 -0700 | |
---|---|---|
committer | 2023-01-27 14:02:48 -0700 | |
commit | 42b1bfe66d2407901c1ae640f80ce9e0d3c64b60 (patch) | |
tree | 2057c57df0c36096d1c3cd6334bc16e767f8169e /examples/download_progress | |
parent | e6092e81a42efe0bbaaad2e7ce475c25a379e672 (diff) | |
download | iced-42b1bfe66d2407901c1ae640f80ce9e0d3c64b60.tar.gz iced-42b1bfe66d2407901c1ae640f80ce9e0d3c64b60.tar.bz2 iced-42b1bfe66d2407901c1ae640f80ce9e0d3c64b60.zip |
Fix: Clippy lint 'uninlined_format_args'
Diffstat (limited to 'examples/download_progress')
-rw-r--r-- | examples/download_progress/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/download_progress/src/main.rs b/examples/download_progress/src/main.rs index 3ef9ef7a..001a1f8f 100644 --- a/examples/download_progress/src/main.rs +++ b/examples/download_progress/src/main.rs @@ -177,7 +177,7 @@ impl Download { .into() } State::Downloading { .. } => { - text(format!("Downloading... {:.2}%", current_progress)).into() + text(format!("Downloading... {current_progress:.2}%")).into() } State::Errored => column![ "Something went wrong :(", |