From 91af1c5ed65d75d9da62d29254460b5ed79f96eb Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 21 Feb 2025 01:28:47 +0100 Subject: Update all `examples` to Rust 2024 --- examples/todos/Cargo.toml | 2 +- examples/todos/src/main.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/todos') 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 "] -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::{ -- cgit