summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/test.yml2
-rw-r--r--Cargo.toml2
-rw-r--r--widget/src/markdown.rs2
3 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 47c61f5e..ea941509 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
- rust: [stable, beta]
+ rust: [stable, beta, "1.80"]
steps:
- uses: hecrj/setup-rust-action@v2
with:
diff --git a/Cargo.toml b/Cargo.toml
index dc473215..df087fdf 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,6 +9,7 @@ repository.workspace = true
homepage.workspace = true
categories.workspace = true
keywords.workspace = true
+rust-version.workspace = true
[lints]
workspace = true
@@ -124,6 +125,7 @@ repository = "https://github.com/iced-rs/iced"
homepage = "https://iced.rs"
categories = ["gui"]
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
+rust-version = "1.80"
[workspace.dependencies]
iced = { version = "0.13.0", path = "." }
diff --git a/widget/src/markdown.rs b/widget/src/markdown.rs
index fa4ee6bf..4bcd3353 100644
--- a/widget/src/markdown.rs
+++ b/widget/src/markdown.rs
@@ -239,7 +239,7 @@ pub fn parse(markdown: &str) -> impl Iterator<Item = Item> + '_ {
) if !metadata && !table => {
#[cfg(feature = "highlighter")]
{
- use iced_highlighter::{self, Highlighter};
+ use iced_highlighter::Highlighter;
use text::Highlighter as _;
highlighter =