summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-09-18 21:51:12 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-09-18 21:51:12 +0200
commit71af846c6d0feab483a2b4e8bcd49a2ccc31f478 (patch)
treed604854306e3ef52aeca71bf1f657745f219363b
parent14353c285f4e65bd58e7d109a6dc7d598dd9cb65 (diff)
downloadiced-71af846c6d0feab483a2b4e8bcd49a2ccc31f478.tar.gz
iced-71af846c6d0feab483a2b4e8bcd49a2ccc31f478.tar.bz2
iced-71af846c6d0feab483a2b4e8bcd49a2ccc31f478.zip
Remove redundant import in `markdown` widget
-rw-r--r--widget/src/markdown.rs2
1 files changed, 1 insertions, 1 deletions
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 =