summaryrefslogtreecommitdiffstats
path: root/highlighter/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Héctor <hector@hecrj.dev>2025-02-21 19:21:10 +0100
committerLibravatar GitHub <noreply@github.com>2025-02-21 19:21:10 +0100
commitf1ed99cb47997e1d194a41e7cdf2846f8eb5f8fa (patch)
treeb2eeb7537ffd49bfbdd24c1a9580870eca99caa6 /highlighter/src/lib.rs
parent81ca3d2a223d62fbb48b93dcea5409f6212605fa (diff)
parent800a73ddd7d4a2e0b1ed23ec565cbc6325b3b7f0 (diff)
downloadiced-f1ed99cb47997e1d194a41e7cdf2846f8eb5f8fa.tar.gz
iced-f1ed99cb47997e1d194a41e7cdf2846f8eb5f8fa.tar.bz2
iced-f1ed99cb47997e1d194a41e7cdf2846f8eb5f8fa.zip
Merge pull request #2809 from iced-rs/rust-2024
Update to Rust 2024
Diffstat (limited to 'highlighter/src/lib.rs')
-rw-r--r--highlighter/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/highlighter/src/lib.rs b/highlighter/src/lib.rs
index 2d0ac2e4..982f1279 100644
--- a/highlighter/src/lib.rs
+++ b/highlighter/src/lib.rs
@@ -1,9 +1,9 @@
//! A syntax highlighter for iced.
use iced_core as core;
+use crate::core::Color;
use crate::core::font::{self, Font};
use crate::core::text::highlighter::{self, Format};
-use crate::core::Color;
use std::ops::Range;
use std::sync::LazyLock;