summaryrefslogtreecommitdiffstats
path: root/examples/todos
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-01-28 18:34:14 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-28 18:34:14 +0100
commitcffffff2ddffc6e8d4e430c94ba9d89e4acda44c (patch)
tree2057c57df0c36096d1c3cd6334bc16e767f8169e /examples/todos
parent818ae4977a36c30a61492f85afa96e261c5d7167 (diff)
parent42b1bfe66d2407901c1ae640f80ce9e0d3c64b60 (diff)
downloadiced-cffffff2ddffc6e8d4e430c94ba9d89e4acda44c.tar.gz
iced-cffffff2ddffc6e8d4e430c94ba9d89e4acda44c.tar.bz2
iced-cffffff2ddffc6e8d4e430c94ba9d89e4acda44c.zip
Merge pull request #1681 from pop-os/fix-lints
Fix Clippy Lints
Diffstat (limited to 'examples/todos')
-rw-r--r--examples/todos/src/main.rs2
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 {