diff options
Diffstat (limited to 'examples/markdown')
-rw-r--r-- | examples/markdown/Cargo.toml | 2 | ||||
-rw-r--r-- | examples/markdown/src/icon.rs | 2 | ||||
-rw-r--r-- | examples/markdown/src/main.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/markdown/Cargo.toml b/examples/markdown/Cargo.toml index 7af1741b..1b582e80 100644 --- a/examples/markdown/Cargo.toml +++ b/examples/markdown/Cargo.toml @@ -2,7 +2,7 @@ name = "markdown" 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/markdown/src/icon.rs b/examples/markdown/src/icon.rs index cfe32541..eaae7587 100644 --- a/examples/markdown/src/icon.rs +++ b/examples/markdown/src/icon.rs @@ -1,8 +1,8 @@ // Generated automatically by iced_fontello at build time. // Do not edit manually. Source: ../fonts/markdown-icons.toml // dcd2f0c969d603e2ee9237a4b70fa86b1a6e84d86f4689046d8fdd10440b06b9 -use iced::widget::{text, Text}; use iced::Font; +use iced::widget::{Text, text}; pub const FONT: &[u8] = include_bytes!("../fonts/markdown-icons.ttf"); diff --git a/examples/markdown/src/main.rs b/examples/markdown/src/main.rs index c6360359..38a56c6b 100644 --- a/examples/markdown/src/main.rs +++ b/examples/markdown/src/main.rs @@ -3,7 +3,7 @@ mod icon; use iced::animation; use iced::clipboard; use iced::highlighter; -use iced::time::{self, milliseconds, Instant}; +use iced::time::{self, Instant, milliseconds}; use iced::widget::{ self, button, center_x, container, horizontal_space, hover, image, markdown, pop, right, row, scrollable, text_editor, toggler, |