From 8378cfd0913ad1a8e39a1aa2dd25ed16de37eee5 Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Fri, 21 Nov 2025 12:15:51 +0100 Subject: chore: update as necessary for upstream iced changes --- examples/markdown/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/markdown/src') diff --git a/examples/markdown/src/main.rs b/examples/markdown/src/main.rs index fae13ca..4963792 100644 --- a/examples/markdown/src/main.rs +++ b/examples/markdown/src/main.rs @@ -17,7 +17,7 @@ struct State { #[derive(Debug, Clone)] enum Message { Edit(text_editor::Action), - LinkClicked(markdown::Url), + LinkClicked(markdown::Uri), } impl State { @@ -45,7 +45,7 @@ impl State { } } Message::LinkClicked(link) => { - let _ = open::that_in_background(link.to_string()); + let _ = open::that_in_background(link); } } } -- cgit v1.2.3