Update all examples to Rust 2024

This commit is contained in:
Héctor Ramón Jiménez 2025-02-21 01:28:47 +01:00
parent 9ceb467e6e
commit 91af1c5ed6
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
82 changed files with 96 additions and 95 deletions

View file

@ -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");

View file

@ -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,