diff options
author | 2023-01-27 13:25:04 -0700 | |
---|---|---|
committer | 2023-01-27 14:02:48 -0700 | |
commit | 42b1bfe66d2407901c1ae640f80ce9e0d3c64b60 (patch) | |
tree | 2057c57df0c36096d1c3cd6334bc16e767f8169e /examples/todos | |
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/todos')
-rw-r--r-- | examples/todos/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs index 690d9c09..04411ed7 100644 --- a/examples/todos/src/main.rs +++ b/examples/todos/src/main.rs @@ -303,7 +303,7 @@ pub enum TaskMessage { impl Task { fn text_input_id(i: usize) -> text_input::Id { - text_input::Id::new(format!("task-{}", i)) + text_input::Id::new(format!("task-{i}")) } fn new(description: String) -> Self { |