diff options
author | 2025-02-21 01:28:47 +0100 | |
---|---|---|
committer | 2025-02-21 01:37:14 +0100 | |
commit | 91af1c5ed65d75d9da62d29254460b5ed79f96eb (patch) | |
tree | 4b05400d50e6a94e4f7049945c01fec2beffb2b2 /examples/todos | |
parent | 9ceb467e6e12129b42d67a4a1ff3cb21bc7daadd (diff) | |
download | iced-91af1c5ed65d75d9da62d29254460b5ed79f96eb.tar.gz iced-91af1c5ed65d75d9da62d29254460b5ed79f96eb.tar.bz2 iced-91af1c5ed65d75d9da62d29254460b5ed79f96eb.zip |
Update all `examples` to Rust 2024
Diffstat (limited to 'examples/todos')
-rw-r--r-- | examples/todos/Cargo.toml | 2 | ||||
-rw-r--r-- | examples/todos/src/main.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/todos/Cargo.toml b/examples/todos/Cargo.toml index 2b49e4e9..77b776d5 100644 --- a/examples/todos/Cargo.toml +++ b/examples/todos/Cargo.toml @@ -2,7 +2,7 @@ name = "todos" version = "0.1.0" authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"] -edition = "2021" +edition = "2024" publish = false [dependencies] diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs index 033cb122..65a34c64 100644 --- a/examples/todos/src/main.rs +++ b/examples/todos/src/main.rs @@ -1,7 +1,7 @@ use iced::keyboard; use iced::widget::{ - self, button, center, center_x, checkbox, column, keyed_column, row, - scrollable, text, text_input, Text, + self, Text, button, center, center_x, checkbox, column, keyed_column, row, + scrollable, text, text_input, }; use iced::window; use iced::{ |